pulsr
v0.2.0
Published
Simple NodeJS load balancer
Downloads
178
Maintainers
Readme
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