A simple executable script to easily cluster an app
Want to see pretty graphs? Log in now!
npm install clusterify
|1||downloads in the last week|
|4||downloads in the last month|
|Last Published By|
|Version||0.0.0 last updated a year ago|
A command-line utility for node to launch apps in "clustered" mode
The cluster module is a very easy way to scale a node app across multiple CPU's. With clusterify you can develop your app without worrying about clustering at all. Just run
clusterify when you want to scale your app.
npm -g install clusterify
When run by itself, clusterify will automatically scale to the number of CPU's.
Clusterify will pass along environment variables and command line arguments to the worker processes.
To specify the number of workers to use, set the NODE_WORKERS environment variable:
NODE_WORKERS=10 clusterify myapp.js
- Worker respawning