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

Why do we really need multiple netty boss threads #8925

Closed
chunhodong opened this issue Mar 8, 2019 · 1 comment
Closed

Why do we really need multiple netty boss threads #8925

chunhodong opened this issue Mar 8, 2019 · 1 comment

Comments

@chunhodong
Copy link

In single ServerBootStrap, What's the effect of increasing boss thread?

@normanmaurer
Copy link
Member

@chunhodong in the future please use stack overflow for questions as this is an issue tracker.

Anyway let me answer this one quickly... It only makes sense to use more than 1 when you bind multiple times (to different ports) or re-use it between different ServerBootStrap. Often it is good enough to just use the same group for boss and worker

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

No branches or pull requests

2 participants