mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
e053c86a96
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.
|