3 ms·
> Isn't Node.js single threaded ? Yes (for now, we might take up V8 isolates). > Would it not under-perform , say compared to Erlang or Netty, in a multi-core
by bnoordhuis 15y ago
> Isn't Node.js single threaded ?
Yes (for now, we might take up V8 isolates).
> Would it not under-perform , say compared to Erlang or Netty, in a multi-core CPU.
No. You can spin up multiple processes and handle the load with (for example) cluster[1].
[1] http://learnboost.github.com/cluster/ http://learnboost.github.com/cluster/
- reginaldo 15y ago> No. You can spin up multiple processes and handle the load with (for example) cluster[1]. Which is what I speculate they're doing, as they say they're running just four instances. Probably, they have servers capable of running 4 threads at the same time.