Blog79.7K views3,234 votes0 replies4,415 following
Using PM2 Cluster Mode to Keep Node.js Apps Online Across CPU Cores
A single Node.js process leaves CPU cores idle and makes restarts painful. PM2 Cluster Mode spreads traffic across workers and lets you reload without dropping requests—if your app shuts down cleanly.