A bolier plate for task processing with a server, workers and IPC communication setup using node-ipc
yarn server
yarn pm2:server
(via PM2)
yarn worker
yarn pm2:worker
(via PM2)
- PM2 settings, like app instance count, watch, etc., can be modified in ecosystem.config.js
- Some app settings, like HOST, PORT, TCP_ENABLED, RETRY, etc., can be modified in src/config.js