Get the latest tech news
Why is spawning a new process in Node so slow?
At Val Town we spawn a lot of processes. We're working on making it faster
The simplest thing we can do spawn more processes and run an http server per-process using Node’s cluster module. I’d ideally find a way to keep the single thread execution model of javascript and still make spawns fast. I’m familiar with Unix Domain Sockets where you have a file called (eg) something.sock and you can listen on it and connect to it just like a network address.
Or read this on Hacker News