[zeromq-dev] HWM default
th-0mq-jeuw at thzn.de
Sun May 8 10:15:50 CEST 2011
> 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.
a HWM measured in the amount of allocated socket-buffer would make
the choice of such upper default limit easier, would it?
"1000" is pretty arbitrary when messages sizes can differ a lot.
More information about the zeromq-dev