Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

POC - Start server using cluster #588

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open

Conversation

rg911
Copy link
Contributor

@rg911 rg911 commented Mar 5, 2021

  • using PM2 to start rest server in cluster mode to avoid single point of failure
  • Docker can start the rest server by calling npm start:cluster instead
  • Currently set to 2 instances in this poc, but in theory, can set to max based on cpu cores

@rg911 rg911 requested review from fboucquez and Wayonb March 5, 2021 14:11
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