Skip to content

Enables the creation of child processes (workers) that run simultaneously and share the same server port.

Notifications You must be signed in to change notification settings

dorisopensource/node-clusterize

Repository files navigation

node-clusterize

Enables the creation of child processes (workers) that run simultaneously and share the same server port.

Installation

$ yarn add @doris.mobi/node-clusterize

Usage

import { ClusterService } from '@doris.mobi/node-clusterize'

const application = () => {
  // your node application logic
}

ClusterService.clusterize(application)