[zeromq-dev] HWM default

Paul Colomiets paul at colomiets.name
Mon May 9 03:49:35 CEST 2011

I should second Andrew Hume. The HWM is really easy way to get deadlock for
novice. And if you are proficient with zeromq, you know when to set HWM and
which value suites your usage.

Also should remind that deadlock probability was the reason why my
"shutdown" proposal was rejected.

On Sun, May 8, 2011 at 9:15 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Hi all,
> I though of changing the default value for HWM to say 1000 in 0MQ/3.0.
> The rationale being that unlimited buffer is a stability threat. In
> other words, default socket when overloaded or DoS'ed will run out of
> memory and crash the application rather than behave decently.
> So, I think, we should offer stable behaviour as default and leave it to
> user to opt out if infinite buffer is really what he wants.
> Martin
> _______________________________________________
> 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/20110509/4f4fe1ba/attachment.htm>

More information about the zeromq-dev mailing list