Skip to content
This repository has been archived by the owner on Oct 27, 2018. It is now read-only.

add clustering support #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add clustering support #11

wants to merge 1 commit into from

Conversation

zachpendleton
Copy link

not sure if this feature is interesting to anyone else, but I'd like to see easier clustering support in bucky.

feature is managed through a CLUSTER environment variable that allows a number of processes to launch to be passed to the app on start. if multiple instances are launched, they run on PORT, PORT + 1, PORT + 2, PORT + n.

if passed a cluster count through the CLUSTER environment
variable (e.g. CLUSTER=4 ./start.js), the server now runs
n processes on PORT, PORT+1, PORT+2, PORT+n.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant