Open ghost opened 8 years ago
Looks pretty convincing.
It might be worth a try if we can just swap ws
out for uws
without changing any code.
That's the idea at least. There might be some small quirks and incompatibilities but most projects swap without even knowing anything changed (until they benchmark at least). If you encounter any issues you can just report them and I will see what we can do about it.
I think going with uws is not only the right choice here but also the most performant and cost-effective in terms of the implementation cost and overall memory use footprint.
Hi,
If you're interested in getting a major scalability boost you could consider swapping to uws instead of ws. Deepstream.io and SocketCluster have already done so with success and good results and I think you could benefit from this as well.
You can check out more info here: https://github.com/uWebSockets/uWebSockets