-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Increase in calls to get_user_by_id
and other strange metrics
#7351
Comments
To enumerate the things that I'd like to understand:
|
These are all due to the same thing. It turns out that we weren't correctly processing USER_IP commands previously: There is a warning about this in the logs, but it's lost in the noise:
For each This seems like it was introduced in #6666. |
This appears to be a red herring. It seems that this happens whenever the process gets busy, and of course we'd deployed it during a busy time of the week. |
get_user_by_id
get_user_by_id
and other strange metrics
This seems to mean "on average, database transactions done within |
This didn't actually start immediately after deployment: it took about 10 minutes to start, which coincides with the start of assertions like this:
That is later joined by similar assertions for the |
We switched matrix.org to current
develop
for a couple of hours on 2020-04-24, and saw some surprising changes to the metrics, including a large number of calls to theget_user_by_id
database transaction.Some of these could be due to more accurate metrics reporting due to #7203, but there were other changes which merit investigation.
The text was updated successfully, but these errors were encountered: