mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 08:00:53 +00:00
For the record, the reason we need this is as follows: each RDATA command comes down the redis pipe as a subscription message. txredisapi as written needs at least three reactor ticks to read each subscription message from the tcp buffer. Hence, once the process gets loaded, it starts getting behind, and eventually redis knifes the connection. it then takes ages for the master to work its way through the backlog, before it reconnects again, during which any commands from any workers are dropped.
1 line
67 B
Gherkin
1 line
67 B
Gherkin
Add support for running replication over Redis when using workers.
|