Re:More than one million requests per second in Node.js
by diegorbaquero on Saturday February 04, 2017 @09:36AM
(#13567088)
uWS certainly reduces the overhead to a minimum, saving lots of memory that can be used to scale up and saving CPU left to your app's code. I wrote this article a few months ago when I switched to uws in the WebTorrent tracker. https://hackernoon.com/%C2%B5ws-as-your-next-websocket-libra...
[ Parent
| on HN ]
Re:More than one million requests per second in Node.js
by lpinca on Saturday February 04, 2017 @12:10PM
(#13567754)
Did you ever try to disable permessage-deflate with ws?
It will never be as lightweight as uws because ws is built on top of `net.Socket` but I think you hit this ws issue https://github.com/websockets/ws/issues/804 in the WebTorrent tracker.
I think ws will use 3/4 times more memory than uws with permessage-deflate disabled which is a lot, but far different from 47 times as advertised.