Skip to content

Update index.ts#20

Open
Braineanear wants to merge 1 commit into
a7urag:masterfrom
Braineanear:patch-1
Open

Update index.ts#20
Braineanear wants to merge 1 commit into
a7urag:masterfrom
Braineanear:patch-1

Conversation

@Braineanear

Copy link
Copy Markdown

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

a7urag commented Dec 27, 2020

Copy link
Copy Markdown
Owner

@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