0.1.0 • Published 7 years ago
cluster-cerebellum v0.1.0
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()
0.1.0
7 years ago