4 ms·
There is nothing new brought to the table, feature wise. Same old ws interface, you keep your current code unchanged. Swap require('ws') with require('uws') an
by alexhultman 10y ago
There is nothing new brought to the table, feature wise. Same old ws interface, you keep your current code unchanged.
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).
- samsonradu 10y agoYes, I've seen the very simple integration, I'll definitely give it a try. I was actually curious how you've achieved that performance boost?
- alexhultman 10y agoI get this question quite often, here is a good start: https://github.com/alexhultman/uWebSockets/issues/56 https://github.com/alexhultman/uWebSockets/issues/56
- samsonradu 10y agoCool, hope it's ok for others to read https://www.reddit.com/r/cpp/comments/4ccpsa/%C2%B5websockets_highly_scalable_c11_websocket_server/ https://www.reddit.com/r/cpp/comments/4ccpsa/%C2%B5websocket...
- alexhultman 10y agohttps://www.youtube.com/watch?v=fN1WBgS9u_E https://www.youtube.com/watch?v=fN1WBgS9u_E