[zeromq-dev] How does Zeromq Scale ?

Martin Sustrik sustrik at 250bpm.com
Wed Nov 9 10:28:56 CET 2011


On 11/09/2011 10:22 AM, Antonio Teixeira wrote:
> Hello Martin & Others
> So that means in python this should do it to enjoy the full multicore
> power ?
>
> import zmq
> from multiprocessing import cpu_count
>
> zmq_context = zmq.context(cpu_count())

In theory, yes. In practice, the question is whether python is able to 
generate message load that would exceed the capabilities of a single 0MQ 
wokker thread.

Martin




More information about the zeromq-dev mailing list