NodeJS 开发 NodeJS多进程集群:cluster.js 和 PM2 Nodejs 提供了 cluster 来支持多进程集群。社区里也有 pm2 来在本地启动多个nodejs服务进程,并且有完备的日志、监控、重启等策略。