250k for comet with node.js

How can I handle 250k open connections to the comet server on node.js (on the client side we use socket.io)?

Was it right to use nginx solution as proxy / loadbalancer? Or will a HA proxy be better? Does anyone have real experience with 100k + connections and can share their settings? Like this:

nginx (as proxy / load balancing server) / | \ / | \ / | \ / | \ node server #1 node server #2 node server #3 4 instances 4 instances 4 instances 
+4
source share
1 answer

I suggest using circular dynamic DNS, and then you can spread the load to several different front-end servers.

0
source

Source: https://habr.com/ru/post/1383636/


All Articles