Cluster is the official way: nodejs.org/api/cluster.html. You create as many virtual instances of your node server with as many CPU-cores you have. Work arounds for the single-threaded event loop (unique to Node) are child_process (official Node practice), and task queues like Rabbit MQ. But as far as your question about taking advantage of a multi-core machine, creating a Node Cluster is the official way.
Brandon Kent
Node-code writer.
Cluster is the official way: nodejs.org/api/cluster.html. You create as many virtual instances of your node server with as many CPU-cores you have. Work arounds for the single-threaded event loop (unique to Node) are child_process (official Node practice), and task queues like Rabbit MQ. But as far as your question about taking advantage of a multi-core machine, creating a Node Cluster is the official way.