[zeromq-dev] some questions of zeromq
余志昌
yuzhichang at gmail.com
Fri Jun 13 11:09:58 CEST 2014
Hi Zhanglei,
I have the same question with you.
I'm using 3.2.3. PUB ZMQ_SNDHWM doesn't work.
I debuged this issue with gdb, and found that ZeroMQ disregards
"zmq_setsockopt(publisher, ZMQ_SNDHWM, &sndhwm, sizeof(int));".
zmq::pipe_t::hwm
is still 1000.
- Zhichang
2014-06-12 11:37 GMT+08:00 zhanglei-ds4(张雷.信息技术中心.搜索组) <
zhanglei-ds4 at yolo24.com>:
>
> 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.
> ------------------------------
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140613/a049ffc5/attachment.htm>
More information about the zeromq-dev
mailing list