When to move Synapse from a single process to workers
Signs that a monolithic Synapse has run out of room, what the first workers should be, and what the move costs in Redis, PostgreSQL, routing and monitoring work.

Scaling a Synapse homeserver beyond one process: worker types, Redis replication, request routing, stream writers, room complexity limits and the commercial Synapse Pro route.
Signs that a monolithic Synapse has run out of room, what the first workers should be, and what the move costs in Redis, PostgreSQL, routing and monitoring work.
Routing /sync, initial sync, login and event sending to the right generic workers with nginx or HAProxy maps, and the sticky routing rules the Synapse docs call for.
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.
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.
Splitting media upload, download and thumbnailing onto its own worker: required routes for client and federation media, the background job instance and storage choices.
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.
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.
Stopping a single user from degrading the server by joining huge public rooms over federation, using limit_remote_rooms and the join rate limits for remote rooms.
Moving background jobs, user directory updates and application service notifications onto their own processes with run_background_tasks_on and the single-instance worker options.
When a deployment outgrows hand-tuned workers: what Element's ESS Pro and Synapse Pro add for autoscaling and multi-tenancy, and how to compare that with running community Synapse at scale.

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.