[zeromq-dev] Problem with durapub2 example

Ian Barber ian.barber at gmail.com
Wed Jul 27 10:59:13 CEST 2011


On Wed, Jul 27, 2011 at 5:26 AM, Tonis Xie <tonis.xie at gmail.com> wrote:

>
> >Also note that you'll almost certainly push more than HWM messages, as
> some will sit in TCP buffers. Being that the messages are >only 20 bytes,
> that could be quite a few.
>
> If this could happen, how can we get the same effect as the durapub2
> example that is described in zguide?
>
> -tonis
>

HWM is not designed to be a precise limit - it's designed to stop the stack
from running out of memory. If you are seeing the publisher overflowing
available memory, or never hitting a limit at all, then I would be
concerned, but in general HWM is not for precise flow control or
backpressure.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110727/e4e88b79/attachment.htm>


More information about the zeromq-dev mailing list