Thanks for your explain, I had not considered HWM is connection related
rather than socket related.

But the misuse of HWM did make one of my server box crash down because of
all memory is used up. So, the correct use of HWM is important for building
a stable server. If I were the designer, I would even set a default HWM to
every connection and give a way to tell the user whether the connection is
in an exceptional state of hitting the HWM.

On Thu, Jul 28, 2011 at 10:35 PM, Ian Barber <[email protected]> wrote:

> On Thu, Jul 28, 2011 at 3:25 PM, Tonis Xie <[email protected]> wrote:
>
>> I think the API should be designed to prevent user from misusing.
>>
>
> I think the only API that would be unambiguous here would be if it was made
> clear HWM was setting a connection parameter rather than a socket parameter
> though, for various reasons, ZeroMQ is intentionally socket oriented rather
> than connection oriented.
>
> Ian
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to