Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

This module complements the native cluster module and adds features like consecutive restarts of worker processes.

Notifications You must be signed in to change notification settings

thegitm8/cluster-cerebellum

Repository files navigation

cluster-cerebellum

version npm downloads liscense Known Vulnerabilities Build Status

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()

About

This module complements the native cluster module and adds features like consecutive restarts of worker processes.

Resources

Stars

Watchers

Forks

Packages

No packages published