3 ms·
It seems that the author actually used the "cluster" module, but just does not mention it in the article: https://github.com/hashrocket/websocket-shootout/blob/
by deorder 7y ago
It seems that the author actually used the "cluster" module, but just does not mention it in the article:
https://github.com/hashrocket/websocket-shootout/blob/master/js/run-cluster.js https://github.com/hashrocket/websocket-shootout/blob/master...
I expected all benchmarks that use the (linux) kernel for I/O events would perform similarly. The code is so small that the interpreter overhead should not degrade the performance too much. May be the JSON parsing / serialization?
- truth_seeker 7y agoSo you think that "sticky-session" is not important ? Can you tell why ?