Synapse workers and scaling

Scaling a Synapse homeserver beyond one process: worker types, Redis replication, request routing, stream writers, room complexity limits and the commercial Synapse Pro route.

Sharding Synapse event persisters by room

Adding event persister workers through stream_writers when the main process cannot keep up with writes, how rooms are sharded and why every worker restarts when the set changes.

Synapse federation sender and pusher workers

Moving outbound federation and push notifications off the main process with federation_sender_instances and pusher_instances, and restricting outbound federation to specific workers for firewall rules.

Redis for Synapse worker replication

What Redis does in a worker deployment, sizing and authentication options, the worker replication secret, and why the replication listener stays on a private network.

Synapse sizing and hardware requirements

Estimating CPU, memory, database and storage for a Synapse homeserver from user count, room sizes and federation, with the published minimums and when workers become necessary.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.