Worker process manager.
- create/close/auto_restart bunch of processes.
- send/broadcast/sendTo messages to child processes.
- multiprocess logging support.
npm install node-workers
var Workers = require('node-workers')('Workers');
var logger = require('node-workers')('logger');
process.send(['data', 'i need to be inited']);
There are too protocols between master and workers
- logger Used to do log job. internal use.
- data Used to communicate with master. Used by worker.
- Use child_process to manage bunch of processes.
- The communication between master and worker is by IPC.
- Logging function is also supported by IPC.
MIT