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

Thread Pinning of IO threads in zeromq #910

Closed
rajputChaturya opened this issue Feb 9, 2022 · 2 comments
Closed

Thread Pinning of IO threads in zeromq #910

rajputChaturya opened this issue Feb 9, 2022 · 2 comments

Comments

@rajputChaturya
Copy link

Can we pin IO threads to dedicated cpu's, I am currently using pub-sub pattern for fanning out a stream to 25 subscribers. Though the results are fair, but I want to optimize further by pinning the IO threads to dedicated cpus. can we achieve this ?

@fbacchella
Copy link
Contributor

Do you think that a ThreadFactory could do the job ? It could generate a thread with a custom run method that pin the thread and then run super.run() ?

@fbacchella
Copy link
Contributor

Implemented in #942

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