Hacker News new | ask | show | jobs
by curun1r 3481 days ago
It's also somewhat disingenuous to talk about how Node can't take advantage of additional CPU cores when Node is basically designed to run multiple, identical processes which each have their own event loop. Most production Node deployments will do this and have a process supervisor that restarts failed processes and shares a single socket among all processes.

Running performance tests with a single Node process doesn't feel like it's giving Node a fair chance to perform up to the capabilities of the machine.

1 comments

That's a hack. Not "the way Node is designed". Specially because Node didn't design much, they just took V8 with its own limitations and ran with it. While those limitations are acceptable for V8's original domain they are not for server applications.