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

Tune the number of dispatch threads dedicated to the reactor. #37

Merged
merged 2 commits into from
Aug 27, 2015
Merged

Tune the number of dispatch threads dedicated to the reactor. #37

merged 2 commits into from
Aug 27, 2015

Conversation

azell
Copy link
Contributor

@azell azell commented Aug 26, 2015

The default of 10 I/O threads is likely overkill for an httpclient instance. Instead allocate 1 thread per available processor.

@pron
Copy link
Contributor

pron commented Aug 26, 2015

1 per core is just as arbitrary and probably overkill as well. This number may have been left from a time when the Apache async client wasn't truly async. Should be changed to 1 or 2.

circlespainter added a commit that referenced this pull request Aug 27, 2015
Tune the number of dispatch threads dedicated to the reactor.
@circlespainter circlespainter merged commit 6e93b72 into puniverse:master Aug 27, 2015
@circlespainter circlespainter self-assigned this Aug 27, 2015
@circlespainter
Copy link
Member

Thanks!

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.

None yet

3 participants