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

POC - Start server using cluster#588

Open
rg911 wants to merge 5 commits into
devfrom
start_server_using_cluster
Open

POC - Start server using cluster#588
rg911 wants to merge 5 commits into
devfrom
start_server_using_cluster

Conversation

@rg911

@rg911 rg911 commented Mar 5, 2021

Copy link
Copy Markdown
Contributor
  • 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 Wayonb and fboucquez 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