forked-synapse/synapse/replication
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
..
http Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
slave Use symbolic names for replication stream names (#7768) 2020-07-01 16:35:40 +01:00
tcp Optimise queueing of inbound replication commands (#7861) 2020-07-16 15:49:37 +01:00
__init__.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00