summary refs log tree commit diff
path: root/synapse/res
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-07-16 15:49:37 +0100
committerGitHub <noreply@github.com>2020-07-16 15:49:37 +0100
commite5300063ede787414e23295767e3279097d7befa (patch)
tree3dbaeb4dffd3f69b705e2e7c2394814d1575cd2c /synapse/res
parentReject attempts to join empty rooms over federation (#7859) (diff)
downloadsynapse-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