4 ms·
> Written on top of C, ported to Node.js. I think what they mean is it uses uWebSockets.js, a Node.js module wrapping a C++ implementation. https://github.com
by davedunkin 4y ago
> Written on top of C, ported to Node.js.
I think what they mean is it uses uWebSockets.js, a Node.js module wrapping a C++ implementation.
https://github.com/uNetworking/uWebSockets.js https://github.com/uNetworking/uWebSockets.js
- teknopaul 4y agoIf you want a really fast cheap websockets server that scales to 250,000 cc on a single node, I wrote xtomp.tp23.org using nginx as a base. Its a STOMP protocol server written in non-blocking C. +web sockets. There is no code required in the nginx part because it implements stomp topics and queues. If you want code, it plugs into a rust based stomp server talking reverse STOMP protocol, so you can code all you like in rust and scale out with n x nginx servers. It is very very low on cpu use. I wrote it because rabbitmq used 5% cpu while idle. Xtomp uses close to 0% cpu when idle because nginx.
- pmontra 4y agoLong time since the last commit. I saw the reference to Ubuntu 16.04. Does it work on current distributions?