[zeromq-dev] How does Zeromq Scale ?
rahul r
rahul8590 at yahoo.co.uk
Wed Nov 9 10:44:43 CET 2011
> 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())
I have tried this in my Dual Core systems and the results are quite amazing .
Compared to normal sequential Program , the framework I built on top of 0mq , does utilize maximum hardware , I can clearly see both the cores being used to 99% when my job is being executed.
However , it is difficult to confirm that , its "only" because of 0mq.
--Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111109/e203ff2e/attachment.htm>
More information about the zeromq-dev
mailing list