-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Shard master process. #7593
Comments
Is there a documentation how this can be achieved? |
https://docs.google.com/document/d/1xL1foUsHgcHdVTOAMSJIST04cH0ukHd-oCKFw3m9sxY has our current thoughts, we've already done some of that such as sharding the cache invalidation stream. |
What i ment was the documentation of what is currently possible with |
Ah, right. There isn't any yet, but we're aiming to get some docs for the next release. Right now its quite experimental and hasn't been tested a huge amount, so we don't recommend anyone try it out on production quite yet (unless they really really know what they're doing) |
Hey @erikjohnston. Did that documentation ever get written? |
Yup, how to move event persistence off master is now at: https://github.com/matrix-org/synapse/blob/develop/docs/workers.md#stream-writers |
Does that mean that this issue is complete? If not, what remains to be done? Is there any documentation which clarifies why the master process still exists, and why it must be a singleton? |
Hey @erikjohnston , I wonder if maybe having skipped mentioning you meant you didn't see that question. I appreciate your time in helping understand this. We're evaluating Synapse for a use case that might justify our contributing or funding the contribution of improvements to HA. |
I'm afraid there isn't an authoritative list of what still remains on master, broadly we've been moving stuff of master whenever we start seeing it become a problem, but that does mean there are quite a few APIs and streams that remain on master simply because they're not high intensity. The way to figure out what is still on master is:
|
I'm going to close this, because the initial work is done. Remaining work includes:
|
Follows on from: #6677
Now that Synapse supports writing events from a different process, we should look at supporting writing events from multiple processes at once, aka sharding of events stream.
The text was updated successfully, but these errors were encountered: