I'm currently using the `ws` library for a custom live-streaming solution (broadcasting binary data) and the memory/CPU usage is indeed not small for a handful of clients. What does `uws` bring new (technically) to the table?
Swap require('ws') with require('uws') and see how it works for your code, report any issues if you need them fixed.
Well, of course there is a 20-30x perf boost, 10-40x memory improvement compared to ws (as the benchmark table shows).
https://www.reddit.com/r/cpp/comments/4ccpsa/%C2%B5websocket...
[1] http://phoboslab.org/log/2013/09/html5-live-video-streaming-...