News for hackers. Stuff that matters.
Re:What the web platform can learn from Node.js: The Darwini... by troncheadle on Wednesday December 16, 2015 @04:08PM (#10747347)
> If you have multiple cores and a single-threaded application that you'd like to scale, then assuming the other resources are plentiful, just spawn multiple instances and pin them to those extra cores.

Not to mention, this is part of the core functionality of node. The cluster module is built in. https://nodejs.org/api/cluster.html.

Re:What the web platform can learn from Node.js: The Darwini... by iends on Wednesday December 16, 2015 @07:41PM (#10748635)
Cluster isn't sufficient because you cannot communicate between processes really.
Re:What the web platform can learn from Node.js: The Darwini... by MrLeap on Wednesday December 16, 2015 @11:05PM (#10749458)
https://www.npmjs.com/package/bobbin my buddy wrote this npm module to make that use case easy. I've put it to work and it's pretty awesome.
Re:What the web platform can learn from Node.js: The Darwini... by cphoover on Wednesday December 16, 2015 @10:03PM (#10749209)
node child process module supports IPC bidirectional communication between parent and child processes.