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

Setup default number of workers for actix server. #92

Closed
trueleo opened this issue Sep 4, 2022 · 1 comment · Fixed by #100
Closed

Setup default number of workers for actix server. #92

trueleo opened this issue Sep 4, 2022 · 1 comment · Fixed by #100
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@trueleo
Copy link
Contributor

trueleo commented Sep 4, 2022

Currently actix server only uses a single thread for runtime. To fix this HttpServer::worker should be used with ideal amount of workers that can be deployed on a particular machine. This number could be logical processors available on a particular machine.

@trueleo trueleo changed the title Setup default number of worker threads for actix runtime. Setup default number of workers for actix server. Sep 4, 2022
@trueleo trueleo added enhancement New feature or request good first issue Good for newcomers labels Sep 4, 2022
@123vivekr
Copy link
Contributor

Please assign this to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants