If I use nginx as a reverse proxy, nginx itself can handle a lot of concurrent coections from clients because clients' IP are different but there is a limitation of 65535 concurrent coections from nginx to upstream backend applications since we only have that many ports for a single IP. If I want an architecture with nginx, nodejs, and socketio to support 500K concurrent web sockets, should I deploy 10 nginx servers and a powerful load balancer in front of them? Is my understanding correct or is there any way to overcome this 65535 limitation?
