[zeromq-dev] context

Ilja Golshtein ilejncs at narod.ru
Thu Aug 26 10:54:30 CEST 2010


Hello!

In my application I use zeromq for two logically different purposes. Sockets of two logical groups are never mixed in a zmq_poll.
One group use inproc only, other inproc and tcp.

The question is if having two contexts initialized with 0 and 1 threads is beneficial from performance point of view, or it is better to have
one context for both.

Could someone please shed some light on zmq_init argument. I just want to be sure I am not "doing weird stuff to need more than one I/O thread".

Thanks.

-- 
Best regards,
Ilja Golshtein.



More information about the zeromq-dev mailing list