Replies: 1 comment 5 replies
-
Hey there, this is an interesting case! And I expected to have mitigated it already by defaulting the retry mechanism to randomised exponential backoff in |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! We are seeing some issues during deployments when the websocket clients connected to old instances are all closed at the same time. As typically the clients try to reconnect immediately (depending on how the community users have implemented their clients in different languages) this results in bursts to newer instances and they may not be able handle the connections and subscriptions before timeouts as there are external dependencies.
To counter that I'm planning to add some delays in the old instance shutdowns but as I've seen a lot of instructive discussions here I thought I'd ask for advice on best practices.
Actually, only after grabbing the code I wrote I realized this has nothing to do with the protocol implementation. This is anyhow where I'm landing at:
Any suggestion on how to best handle this situation?
Beta Was this translation helpful? Give feedback.
All reactions