by rdtsc · 13y ago · 0 comments
On physical hardware the race is pretty close (except node, python-gevent, but cluster node did very well).
http://eric.themoritzfamily.com/websocket-demo-results-v2.ht...
1. The evented servers are bound to one CPU, Erlang will use all CPUs
2. any bit of blocking code will stall the other code, even it just for a moment.
It is a little unfair to compare the two approaches.EDIT:
Also it would seem benchmarking Erlang and forcing it to run on a single core just like node.js is deliberately handicapping it. One of the strengths of Erlang is exactly the ability to take advantage of multiple cores.