This package has been deprecated

Author message:

n-cluster is no longer supported. apps should use strong-cluster-control directly

@financial-times/n-cluster

2.0.0 • Public • Published

n-cluster

Utility for clustering node processes on heroku dynos

Usage

  • n-cluster - will run either the value in package.json#main or ./server/app.js, and assumes a memory allowance of 512MB is required
  • n-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.

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/n-cluster

Weekly Downloads

1

Version

2.0.0

License

ISC

Unpacked Size

349 kB

Total Files

30

Last publish

Collaborators

  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson