17 ms·
If you want to get some of the benefits mentioned in the article with Node, check out my Common Node projects which uses fibers to emulate threads and a synchro
by olegp 13y ago
If you want to get some of the benefits mentioned in the article with Node, check out my Common Node projects which uses fibers to emulate threads and a synchronous environment: https://github.com/olegp/common-node https://github.com/olegp/common-node
Here's a slightly more advanced version of a Telnet server written for Common Node: https://github.com/olegp/common-node/blob/master/examples/chat.js https://github.com/olegp/common-node/blob/master/examples/ch... - it should be pretty straightforward to add the logic necessary to throttle the rate at which new connections are accepted.