[zeromq-dev] More than 1 IO thread?

Oliver Smith oliver at kfs.org
Sat Jul 24 16:44:08 CEST 2010


On 7/24/2010 9:38 AM, Martin Lucina wrote:
> Whenever you're on a multicore or multiprocessor system and have more I/O
> load than a single processor can handle.
>
> Ideally 0MQ would start one I/O thread per processor, but it's impossible
> to portably obtain an answer to the question "How many processors does this
> system have?", hence the I/O threads parameter to zmq_init().
>    
Oh :) I expected it to be more complex than that, wherever I picked up 
my zmq examples from (either one of the blog posts or some example code, 
I forget where) said something like "You only need 1 if you REALLY know 
what you are doing!" hehe

- Oliver



More information about the zeromq-dev mailing list