[zeromq-dev] pyzmq and labview-zmq are so much slower than JeroMQ.

crocket crockabiscuit at gmail.com
Tue Apr 16 11:10:03 CEST 2013


JeroMQ is both a java reimplementation and a higher level API of libzmq.
labview-zmq is basically a wrapper around libzmq for LabVIEW.
pyzmq is also basically a wrapper around it.

I made ROUTER.py and DEALER.py and executed them to measure performance.
Those python codes are attached to this email.

With pyzmq, it takes 200~280ms for DEALER to send 10000 requests to ROUTER
and retrieve 10,000 replies in batch.

With labview-zmq, the same code takes about 1500~1700ms.

With JeroMQ, it takes about 30~40ms.

Why do different bindings have different performance characteristics?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130416/dd1a7247/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ROUTER.py
Type: application/octet-stream
Size: 288 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130416/dd1a7247/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DEALER.py
Type: application/octet-stream
Size: 444 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130416/dd1a7247/attachment-0001.obj>


More information about the zeromq-dev mailing list