[zeromq-dev] push socket behavior on send high water mark (SND_HWM)
Pieter Hintjens
ph at imatix.com
Mon May 11 10:10:28 CEST 2015
This does seem like incorrect behavior. Has anyone else experienced the
same problem?
On Mon, May 11, 2015 at 8:39 AM, Antti Karanta <Antti.Karanta at neromsoft.com>
wrote:
>
> Hi,
>
> I am using (among others) push and pull sockets. Recently I noticed that
> on high loads (=pushing a lot of messages) messages were lost. The
> documentation for push socket says (
> http://api.zeromq.org/4-0:zmq-socket#toc14) that on reaching high water
> mark the socket goes to mute state and blocks until it can send again, "messages
> are not discarded".
> However, I observed losing messages and this got fixed once I explicitly
> set SND_HWM to 0 (unlimited) on the push socket.
> Now it seems at least one of these three must be incorrect: the push
> socket implementation, the push socket documentation, or my understanding
> of the previous two. My problem is solved for now but I thought I'd report
> this in case anyone else happens to be fighting with it and so I may learn
> something from the answers.
>
> Environment: zmq version 4.0.4, using clrzmq wrappers on the push
> socket, cljzmq on the pull socket, windows 7 & 8 on x64.
>
>
> ::Antti::
>
>
>
> _______________________________________________
> 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/20150511/7002c3d8/attachment.htm>
More information about the zeromq-dev
mailing list