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 an option to allow developers to enable thread affinity of Netty if net.openhft.affinity is on classpath #1489
Comments
@JamesChenX You should be able to use the current API
|
OK, it's fine for us to use the APIs, and I just wanted to confirm whether you will do it, so we don't reinvent the wheel. Thanks. |
@violetagg . One more enhancement point, we would like to specify the number of select (acceptor) threads and the number of workers while using thread affinity. But there is no way for that now, could you provide a method like |
@JamesChenX You can do it like this:
|
@violetagg it can work but the code isn't that elegant compared to |
Motivation
Desired solution
Add an option to allow developers to enable thread affinity of Netty if net.openhft.affinity is on classpath
Reference: https://github.com/netty/netty/wiki/Thread-Affinity
Considered alternatives
No.
Additional context
No.
The text was updated successfully, but these errors were encountered: