Skip to content

How to use all my CPU cores with Elysia? #416

Closed Answered by loclv
stefanos82 asked this question in Q&A
Discussion options

You must be logged in to vote

@stefanos82

I think this is common question for running Bun/Node.js on across all CPUs available, without any code modifications.

You can read about how to do it with pm2 - Cluster Mode.
And how to run Bun as a daemon with PM2.

Besides, you can use Bun - workers

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by stefanos82
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@loclv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants