cluster-cerebellum
v0.1.0
Published
Cluster control module. It complements the native cluster module and adds features like consecutive restarts of worker processes.
Downloads
4
Readme
cluster-cerebellum
cluster-cerebellum
is a cluster control module. It complements the native cluster
module and adds features like consecutive restarts of worker processes.
:exclamation: This is still in alpha and API may change.
Installation
npm install --save cluster-cerebellum
Usage
const cerebellum = require('cluster-cerebellum')
const options = {
exec: 'worker.js',
numberOfWorkers: 3
}
cerebellum.setupCluster(options)
cerebellum.startCluster()