3 ms·
I'm curious what kind of OS tuning was required for 500k concurrent connections. It's obvious that some ulimit tuning is necessary, but I'm wondering if any oth
by tmountain 16y ago
I'm curious what kind of OS tuning was required for 500k concurrent connections. It's obvious that some ulimit tuning is necessary, but I'm wondering if any other hard limits beyond that were hit? Also, in case the original author is reading, you might find this interesting as well. It's an article on trying to reach 1MM concurrent connections with Erlang.
http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-1 http://www.metabrew.com/article/a-million-user-comet-applica...
- superjared 16y agoWe modified /etc/sysctl.conf to have really small buffers per socke, modified ulimit to allow for 999999 fds, and modified /proc/sys/net/ipv4/ip_local_port_range to max out ephemeral ports per connection.