0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-06 19:28:46 +02:00
synapse/changelog.d/7861.misc
Richard van der Hoff e5300063ed
Optimise queueing of inbound replication commands (#7861)
When we get behind on replication, we tend to stack up background processes
behind a linearizer. Bg processes are heavy (particularly with respect to
prometheus metrics) and linearizers aren't terribly efficient once the queue
gets long either.

A better approach is to maintain a queue of requests to be processed, and
nominate a single process to work its way through the queue.

Fixes: #7444
2020-07-16 15:49:37 +01:00

2 lines
51 B
Plaintext

Optimise queueing of inbound replication commands.