summary refs log tree commit diff
path: root/changelog.d/7861.misc
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 /changelog.d/7861.misc
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 'changelog.d/7861.misc')
-rw-r--r--changelog.d/7861.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7861.misc b/changelog.d/7861.misc
new file mode 100644
index 0000000000..ada616c62f
--- /dev/null
+++ b/changelog.d/7861.misc
@@ -0,0 +1 @@
+Optimise queueing of inbound replication commands.