-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to bind disruptor producer and process threads to specific CPU cores for easier management? #2
Comments
Hi, Yes, absolutely! Regarding the producer threads, I recommend adding
Kind regards, |
Hi again, Version 0.3.0 is out now. See how to pin the processing thread in the docs for the Builder#pin_processor_to_core method. Kind regards, |
Okay, I will integrate version 0.3.0 into the project and see. |
The code is: |
What OS are you running on? Kind regards, |
|
Another question,does the processor support batch event retrieval? |
The current Disruptor version uses 0.8.0 of Regarding supporting batch event retrieval: You can see that in the Kind regards, |
Hi again, I've tried upgrading to 0.8.1 but no luck on my Macbook. Kind regards, |
Hi again, I've published version 0.4.0 where the Builder will no longer panic on e.g. Mac if there's a thread affinity error. Instead it will log on stderr. Give it a spin. :-) Kind regards, |
So, it can ensure that the CPU cores of the machine can be allocated according to needs.
The text was updated successfully, but these errors were encountered: