[zeromq-dev] Problem with durapub2 example
Tonis Xie
tonis.xie at gmail.com
Thu Jul 28 17:06:05 CEST 2011
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 <ian.barber at gmail.com> wrote:
> On Thu, Jul 28, 2011 at 3:25 PM, Tonis Xie <tonis.xie at gmail.com> 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
> 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/20110728/9aa63dc8/attachment.htm>
More information about the zeromq-dev
mailing list