diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-07-16 15:49:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 15:49:37 +0100 |
commit | e5300063ede787414e23295767e3279097d7befa (patch) | |
tree | 3dbaeb4dffd3f69b705e2e7c2394814d1575cd2c /synapse/res | |
parent | Reject attempts to join empty rooms over federation (#7859) (diff) | |
download | synapse-e5300063ede787414e23295767e3279097d7befa.tar.xz |
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
Diffstat (limited to 'synapse/res')
0 files changed, 0 insertions, 0 deletions