3 ms·
Node includes the cluster module to create child processes that all share the same server port, allowing you to take advantage of all available cores. You can
by Rezo 11y ago
Node includes the cluster module to create child processes that all share the same server port, allowing you to take advantage of all available cores.
You can also run multiple node processes on the same machine (on multiple ports) and use something like NGinx to loadbalance between them. You can use this to get zero-downtime upgrades on a single machine.