-
Notifications
You must be signed in to change notification settings - Fork 10.1k
socket.io cluster with sticky-session problems #1944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That might be because then it needs to communicate between multiple instances, using redis pub sub. |
@peteruithoven you mean: i need use multiple instances and not use cluster ? |
When you use clusters you in effect also use multiple instances. Maybe you need to read a little bit more before you start asking for help. |
@peteruithoven First of all want to thank you very much, now my question is I said above , I use a cpu core test (one instance), they can support the 20k number of connections, but I used the cluster mode, but only supports 4k connections , Why do I use the cluster with sticky-session after a drop in performance so much ? you understand I mean? |
I think I understand you. Please at least read the pull request #46 On Thu, Jan 15, 2015 at 11:00 AM, hussion [email protected] wrote:
|
@peteruithoven oh my friend, what important is i think i should let you know: I did NOT USE "socket.io-redis" , i am now just test how many connections the socket.io server can support. so now you understand ? |
I think it's normal because sticky session make your socket.io servers communicate with each others. |
That issue was closed automatically. Please check if your issue is fixed with the latest release, and reopen if needed (with a fiddle reproducing the issue if possible). |
Recently, i do the socket.io stress test, what make me confused is socket.io use one cpu can support more than 20k connections, but use cluster modle with stikcy-session, it only can support 4k connections. Can someone explain this is what causes it ? help me please !
At last, i hope socket.io can provide a affcial example with cluster. thx. :)
The text was updated successfully, but these errors were encountered: