HAProxy + WebSocket Disconnection
Upgrade to latest version of socket.io (0.6.8 -> npm install [email protected], which is patched to work with HAProxy) and download the latest version of HAProxy. Here is an example config file: global maxconn 4096 # Total Max Connections. This is dependent on ulimit nbproc 2 defaults mode http frontend all 0.0.0.0:80 timeout client 5000 default_backend … Read more