Create Arkose abuse trust scores asynchronously
What does this MR do and why?
Related to: https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/503
The error budget for RegistrationsController#create
has been getting exceeded due to latency. Since the calls to create abuse trust scores do not need to be done synchronously, this MR moves their creation to the Abuse::TrustScoreWorker
which should lower the latency in this controller.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.