[question] Websocket connect termination handling #983
Unanswered
apetrosyan1613
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It's a bit abstract when you are just using "colossal" load words without concrete numbers, metrics, resources, latencies etc. Generally the situation is known, and I can provide some advices:
Probably more advices can be given here. Regarding recent improvements in Centrifugo - of course they can help, but I think just a bit, and you better concentrate on techniques above. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Thanks for your awesome solution! Im not sure, that it's the right place for my question, but anyway.
We use Centrifugo 5.2.2 (standalone mode) in a Kubernetes cluster (deployed via the Centrifugo helm chart) and expose it via ingress-nginx on the subpath. If I'm not wrong, we have the average number of connects/subscribes in 200-300.
So the case: when I add a new ingress rule/resource with the same domain name, which is used by Centrifugo, it causes the ingress-nginx configuration reload, which leads to the termination of all websocket connections to Centrifugo.
It causes a colossal load on the Centrifugo and service with subscribe and connect endpoints (a lot of client disconnections and connect/subscribe commands to Centrifugo).
questions:
Beta Was this translation helpful? Give feedback.
All reactions