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??????.????????????.??????)";<[email protected]>;
????????: 2014??6??12??(??????) ????11:37
??????: "zeromq-dev"<[email protected]>;
????: [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._______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev