Filling Every Core with PM2 Cluster Mode and Ecosystem Files
PM2 cluster mode uses every CPU core and supports zero-downtime reloads, but only if your app is stateless and handles SIGINT. Here is how to configure it with an ecosystem file and verify it works.