-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow POST /auth/token #1197
Comments
The issue consists of several things:
I'm going to check if we can get rid of the named locks for items/groups relations |
We moved groups&items ancestors propagation back into initiating transactions in #1195. If the service is still slow, we can try getting rid of the propagation in it completely. |
After these changes, stats of this services (over 1800 calls): avg: 214.4243, pct 95: 837.6792, max 7345.4092. |
Calls to
/auth/token?cookie_same_site=1&cookie_secure=1&create_temp_user_if_not_authorized=1&default_language=fr&use_cookie=1
seems to be (very) slow from time to time while it looks like a simple service. This service is very important as it is called for every not-already-connected user arriving on the website.After, after the v2.23.0 release, I still see on this service "unexpected error: lock wait timeout exceeded" errors and services taking >3sec (maybe corresponding to this timeout).
Note: POST /auth/token?cookie_same_site=:id&cookie_secure=:id&use_cookie=:id is also slow with a 728ms 95% percentile in the 3 last hours... so maybe it is not necessarily related with the "create_temp_user_if_not_authorized".
The text was updated successfully, but these errors were encountered: