Re:Scaling node.js to 100k concurrent connections
by est on Thursday August 09, 2012 @02:08AM
(#4359777)
what about other languages?
[ Parent
| on HN ]
Re:Scaling node.js to 100k concurrent connections
by ww520 on Thursday August 09, 2012 @03:08AM
(#4359918)
The Netty library for Java routinely can do 500K connections without any sweat. Some people have tried 1M connections with beefy machines.
Re:Scaling node.js to 100k concurrent connections
by ZoFreX on Thursday August 09, 2012 @06:20AM
(#4360381)
I wonder how far you could push Java with a naive Thread implementation. If you reduce the per-thread stack size you can quite easily get 20K on very modest hardware.
Re:Scaling node.js to 100k concurrent connections
by boyter on Thursday August 09, 2012 @02:28AM
(#4359829)
I would be curious to know how something like Play! with all Async requests, or MVC with all Async would do. Probably similarly impressive, but I really have no idea.
Re:Scaling node.js to 100k concurrent connections
by fleitz on Thursday August 09, 2012 @03:32AM
(#4359993)
Probably not, the key to making 250,000 connections work is not doing a lot for each of those connections, or doing it very infrequently.
Once you're rendering views, etc it's hard to maintain 50,000 req/sec. (250K connections @ 5 req/sec)