Handling Cold Server Redundancy #1227
Replies: 2 comments
-
You will need multiple instances of
Yes, in order to get an
I guess so? The client will automatically attempt to reconnect until
I'm not sure anything in the library will help you with this. You'll have to track how long you've been disconnected for and decide when it's time to try another server in the set as part of your application logic. The spec leaves that up to the implementation to decide. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick response! I think the path forward is clear to me. 👍 |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am working on a client and I need to handle a cluster of servers where there is only one active server at any time, we can't connect to the backup server unless it becomes active during a failover (Cold Failover).
I was wondering what the right approach would be. I'm thinking of adding a SessionActivityListener to detect failure of the primary server and connect to the backup server. Here are my questions :
I'm currently still on v0.6.3, but if recent versions added features relevant to this question, I can upgrade.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions