cluster-cerebellum

0.1.0 • Public • Published

cluster-cerebellum

cluster-cerebellum is a cluster control module. It complements the native cluster module and adds features like consecutive restarts of worker processes.

❗ This is still in alpha and API may change.

  1. Installation
  2. Usage
  3. API

Installation

npm install --save cluster-cerebellum

Usage

const cerebellum = require('cluster-cerebellum')

const options = {
	exec: 'worker.js',
	numberOfWorkers: 3
}

cerebellum.setupCluster(options)

cerebellum.startCluster()

Readme

Keywords

Package Sidebar

Install

npm i cluster-cerebellum

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • gitm8