[zeromq-dev] Is custom HWM behaviour possible?
Pieter Hintjens
ph at imatix.com
Thu May 12 23:05:49 CEST 2011
On Thu, May 12, 2011 at 10:59 PM, Gehan Gonsalkorale
<gehan at conversocial.com> wrote:
> Using the pipeline socket I have each server pushing downstream to the log
> server great, but the only problem is that if the log server goes down then
> conceivably the HWM limit could be reached and the servers start to block!
> It would silly for our servers to lock up because of logging! Is it possible
> to change this socket to drop packets? I don't know the internals so I find
> it surprising there is not option.
You don't want to use push-pull for logging, because it is a
load-balancing distribution pattern. You want to use pub-sub, and that
will correctly drop messages when the HWM is reached.
-Pieter
More information about the zeromq-dev
mailing list