[zeromq-dev] questions about zmq

Lushuifeng lushuifeng at huawei.com
Thu Dec 27 11:09:11 CET 2012

I'm using zmq(3.2 version)  to do message transmission and distribution  currently, however, several problems has encountered me and I'm hoping to get help from you, my question is listed as below:
First, in order to accelerate the processing speed of the end of the receiving message, I extended High-speed Subscribers (Black Box Pattern)<http://zguide.zeromq.org/page:all#High-speed-Subscribers-Black-Box-Pattern>  as mentioned in the guide documents. 8+ ports have been used and each port receives messages using the the zmq device to forward the message to the PUSH socket.  Other at least two separate threads create one PULL socket respectively to handle the forwarded message, However  under  this mode, following questions occur: when a node sends a message to another one,more than 2.5 million messages will make the node which receives messages blocking for a long time. I would like to ask what is the reason of this phenomenon ?
Second, I would like to study zmq code, so I need to run the source code of zmq and print some useful information. First, I try to print information in zmq code while when  runing  the code, the printing  information does not print out as I expected. I would like to ask how to set up the zmq to see the debugging information.
Thanks very much!
[cid:image001.jpg at 01CDE45D.44586E70]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121227/dd63ed88/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 15350 bytes
Desc: image001.jpg
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121227/dd63ed88/attachment.jpg>

More information about the zeromq-dev mailing list