[zeromq-dev] 回复: some questions of zeromq
只和你
843259180 at qq.com
Fri Jun 13 11:21:13 CEST 2014
Actually this problem is reffered in the Guide,I do not if you see the Chapter 2 of Guide Synchronized publisher in C.The author explained why you may lose message.Hope this can be helpful.
John
------------------ 原始邮件 ------------------
发件人: "zhanglei-ds4(张雷.信息技术中心.搜索组)";<zhanglei-ds4 at yolo24.com>;
发送时间: 2014年6月12日(星期四) 中午11:37
收件人: "zeromq-dev"<zeromq-dev at lists.zeromq.org>;
主题: [zeromq-dev] some questions of zeromq
Dear Mr,
I come from china. and we have used the latest zeromq(4.0.4) in our project . but there are some questions coming . that is :
a lot of messages lose in PUB-SUB . so I have to use older version zeromq(2.2.0) ,and I set ZMQ_HWM and ZMQ_SWAP , the message is no longer lost in PUB_SUB.
I have two question:
1. since the version 3.2.0 , zeromq can not set ZMQ_SWAP ,why are you cancle ZMQ_SAWP ?
2. if I use latest zeromq , how to avoid lose message in PUB-SUB ? I set ZMQ_HWM in PUB-SUB , but message still lose , how to do?
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140613/a75dd1a5/attachment.htm>
More information about the zeromq-dev
mailing list