When deploying Node.js applications with PM2, it’s important to understand how cluster mode, instances, and CPU cores interact — especially when you’re combining multiple apps like a Next.js frontend and a Feathers.js backend.
This post breaks down the core concepts and lessons learned from setting up next-dna and feathers-dna with PM2 cluster mode.