Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for cluster mode in heroku integration #188

Open
bhumijgupta opened this issue Jun 12, 2020 · 0 comments
Open

Add example for cluster mode in heroku integration #188

bhumijgupta opened this issue Jun 12, 2020 · 0 comments

Comments

@bhumijgupta
Copy link

Currently the heroku integration docs does not show how to setup cluster mode for heroku.

How is cluster mode for heroku different?

If we specify instances: "max" in our ecosystem.config.js file, 8 different instances of process would be deployed. But these 8 CPUs as detected by PM2 are shared and the deployment will fail. The better option is to use instances: process.env.WEB_CONCURRENCY || "max".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant