-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
README claims you can run a "hot spare" synapse, which is incorrect #7076
Comments
I have basically no idea what this is referring to. AFAIK nobody has ever tried setting up a "hot spare" synapse, and I can't see how that would work, due to the lack of cache coherence between the two instances. In short, I think the README is misleading. The paragraph in question seems to originate from cc5d68f; @ara4n any insights as to what this was meant to be referring to? |
Okay but what is the alternative, if that is not an option? |
yes |
Wow that is unexpected. So the cache is the main problem? But if it is just a cache, then it should be possible to just have a second synapse server running and taking over if the first one crashes, right? My setup then would be:
|
in theory, maybe. In practice, you'd need a way to reliably make sure that the standby didn't do anything (including populate caches from the database) until the primary was dead. We're looking at multi-master setups in #6677; now isn't a great time to open up a new battle-front in terms of another axis of redundancy. For now, suffice it to say that the README is inaccurate. |
Okay, i understand. So what is the current best way to deploy a synapse server if high availability is my focus? |
Signed-off-by: Aaron Raimist <aaron@raim.ist>
@djschilling Did you ever get anywhere with this line of enquiry? We're considering replacing a proprietary chat system which has no single point of failure with something Matrix-compatible and this is something of a hang-up for us. |
@benlangfeld no i never found a solution to this problem. There still seems to be no way to run synapse in an ha setup |
Hello everyone, have you found a way to solve this problem? Even if it is not exactly high availability, an active/passive solution may be suitable for this purpose |
In the Readme i read the following sentence:
allowing basic active/backup high-availability with a "hot spare" synapse pointing at the same DB master, as well as enabling DB replication in synapse itself.
But i cannot find any documentation how this ha setup should work.
I also asked in the Matrix Channel Synapse Admins but no one could give me help there.
The only issue i found related is this one: #2123
So the questions that i would like to see answered in the docs are:
hot spare
setup as described in the documentation?The text was updated successfully, but these errors were encountered: