Skip to content

Conversation

@Braineanear
Copy link

i'm using here clusters which will boost the performance of the API to use all all the cpu's cores when you upload your API on the cloud
so you turn the setupServer to true when you run your API on the cloud
but if you gonna develop it and use it in your PC you should turn it off, cause it will use all your cpu's cores and then the PC will slow down

i'm using here clusters which will boost the performance of the API to use all all the cpu's cores when you upload your API on the cloud
so you turn the setupServer to true when you run your API on the cloud
but if you gonna develop it and use it in your PC you should turn it off, cause it will use all your cpu's cores and then the PC will slow down
@a7urag
Copy link
Owner

a7urag commented Dec 27, 2020

@Braineanear thanks for contributing. But prefer using pm2 cluster in production for stateless application than node cluster.
For ref: https://stackoverflow.com/q/33981678/9821453

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

Successfully merging this pull request may close these issues.

2 participants