Does anyone here use matrix-synapse with multiple workers?
# Scaling synapse via workers
For small instances it is recommended to run Synapse in the default monolith mode.
For larger instances where performance is a concern it can be helpful to split
out functionality into multiple separate python processes. These processes are
called 'workers', and are (eventually) intended to scale horizontally
independently.
Synapse's worker support is under active development and subject to change as
we attempt to rapidly scale ever larger Synapse instances. However we are
documenting it here to help admins needing a highly scalable Synapse instance
similar to the one running `matrix.org`.
All processes continue to share the same database instance, and as such,
workers only work with PostgreSQL-based Synapse deployments. SQLite should only
be used for demo purposes and any admin considering workers should already be
running PostgreSQL.
See also [Matrix.org blog post](https://matrix.org/blog/2020/11/03/how-we-fixed-synapses-scalability)
for a higher level overview.
This file has been truncated. show original
I found this and it looks very promising, but since it’s just a random gist it feels a bit weird to use lol. Just wondering if people use this or if they have different setups.
h7x4
January 19, 2023, 8:51pm
2
The gist you linked has turned into a proper project
1 Like