Welcome! Log In Create A New Profile

Advanced

Max connections for WebSocket SSL termination

August 01, 2013 03:53AM
Hey guys,

I have been using nginx in my personal life for a couple of years, recently dropping totally apache and I must admit that this software rocks. Congrats to all the devs for the fantastic job in the new-event-driven-world.

Secondly, at work, we are trying to use nginx as a SSL endpoint for our websocket connections. We need to handle handred of thousands of permanent connections, and given the problem that Node.js (our backend) has with SSL (leaks memory in combination with websockets), we decided to give nginx a try.

Problem? We can only handle 64k connections due to the limit of actual ports on a unix machine. I think this cannot be workarounded with nginx configurations, right?

We can switch to listen to a unix socket (so Node.js is not serving in a http port, but on a unix socket), which *I think* that could resolve the problem.

Thanks for your help.
Subject Author Posted

Max connections for WebSocket SSL termination

willyaranda August 01, 2013 03:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 280
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready