Thread Pinning of IO threads in zeromq
rajputChaturya opened this issue · 2 comments
rajputChaturya commented
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 commented
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 commented
Implemented in #942