News for hackers. Stuff that matters.
Re:uWebSockets 0.10.0 by alexhultman on Wednesday October 05, 2016 @09:36AM (#12643628)
Call me when you can get 1 million concurrent connections using 1.3 GB of user space memory with ws.

Hint: at 500k ws consumes all memory in my computer and the GC stalls are constant. My system start to freeze and my mouse cursor is no longer responding.

I can have 1 million connections with uws at the same time I'm watching cat clips on youtube, listening to spotify and having my complete IDE up and running.

Re:uWebSockets 0.10.0 by lpinca on Wednesday October 05, 2016 @09:57AM (#12643811)
For 100k connections your own benchmarks showed a different story. Now I didn't try with 1 million and I guess it gets worse so I trust you but I can try with removing the upgrade request, the event emitter, etc from ws to start at least with a fair comparison.
Re:uWebSockets 0.10.0 by alexhultman on Wednesday October 05, 2016 @10:13AM (#12643942)
If you don't like it, don't use it.
Re:uWebSockets 0.10.0 by lpinca on Wednesday October 05, 2016 @10:19AM (#12643998)
It's your idea of transparency which I don't like, not your project.
Re:uWebSockets 0.10.0 by scrabble on Wednesday October 05, 2016 @10:09AM (#12643913)
A million connections into the computer that you work on? Are these bot net connections, or do use your machine as your server?
Re:uWebSockets 0.10.0 by alexhultman on Wednesday October 05, 2016 @10:17AM (#12643984)
I test the user space memory scalability by connecting 1 million localhost connections on the same machine.

Btw, 1.3 GB is for the Node.js addon - the native server does 1 million connections using less than 300 mb of user space memory.