pulsr

0.2.0 • Public • Published

Pulsr

A very simple MIT-licensed NodeJS load balancer, built on top of Node clusters.


Installation

npm install -g pulsr

Usage

The following command:

pulsr start myApp.js

Will start your app with attached load balancer. Amount of created processes will depend on available CPUs. You can also provide specific amount of processes to be spawned, e.g. the command below will create 2 processes which will run myApp.js:

pulsr start myApp.js -p 2

Additionally, you can configure various parameters like process restart strategy, automatic restart upon reaching certain memory threshold and more.

For available configuration options see

pulsr --help
pulsr start --help

Package Sidebar

Install

npm i pulsr

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

27.4 kB

Total Files

14

Last publish

Collaborators

  • koflyan