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

Add in the ability to configure the number of worker threads for Netty... #693

Merged
merged 1 commit into from
Oct 7, 2013

Conversation

revans2
Copy link
Contributor

@revans2 revans2 commented Oct 1, 2013

and set up some reasonable defaults for Netty.

In trying to find a good set of defaults for Netty I discovered that using the default number of worker threads caused a lot of contention due to excess context switching. This patch adds in the ability to configure the number of worker threads Netty uses and sets some reasonable defaults that for my tests let Netty send between 40% and 110% more messages per second than zeromq.

This does not enable Netty by default, it just adds default configurations for when Netty is configured.

…y messaging, and set up some reasonable defaults for Netty.
@nathanmarz
Copy link
Owner

+1. I think this can go into 0.9.0 too.

@xumingming
Copy link
Collaborator

+1

@ptgoetz
Copy link
Collaborator

ptgoetz commented Oct 6, 2013

+1 for 0.9.0

ptgoetz added a commit that referenced this pull request Oct 7, 2013
Add in the ability to configure the number of worker threads for Netty...
@ptgoetz ptgoetz merged commit 1e3d266 into nathanmarz:master Oct 7, 2013
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.

4 participants