2.0.0 • Published 4 years ago
@financial-times/n-cluster v2.0.0
n-cluster
Utility for clustering node processes on heroku dynos
Usage
n-cluster
- will run either the value inpackage.json#main
or./server/app.js
, and assumes a memory allowance of 512MB is requiredn-cluster -s ./server/init.js
- will run./server/init.js
n-cluster -m 256
- will assume a memory allowance of 256MB is required
If an environment variable N_CLUSTER_MEMORY
is present, this will be used to set the memory allowance per clustered process. This should only be used when tweaking to find a goo dvalue for m
. Once a good value is determined it should be set in the app's Procfile
, and the environment variable removed.
2.0.0
4 years ago
1.0.0
6 years ago
1.0.0-beta.4
6 years ago
1.0.0-beta.3
6 years ago
1.0.0-beta.1
6 years ago