[zeromq-dev] pub-sub losing messages
Pieter Hintjens
ph at imatix.com
Wed May 22 00:30:53 CEST 2013
On Wed, May 22, 2013 at 12:12 AM, Michael Keselman <
michael.keselman at gmail.com> wrote:
> I tries to increase HWM and also removed it altogether. It is still
> missing messages and results are really inconstant. There is one subscriber
> sending 100,000 messages. With one subscriber, in 3 separate runs
> the subscriber received respectively 76005, 37488, 82121 messages For 3
> subscribers, the numbers were 34778/34793/35535, 42152/42549/58702,
> 34375/38905/37519 per subscriber per run.
>
Removing HWM means you use a default of 1,000.
The number of messages you get will depend on how much CPU the subscriber
can suck to fetch its messages,
Set the SNDHWM to 0, for example, this means "no limit".
-Pieter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130522/ffde2b3b/attachment.htm>
More information about the zeromq-dev
mailing list