[zeromq-dev] Is custom HWM behaviour possible?

Gehan Gonsalkorale gehan at conversocial.com
Thu May 12 22:59:34 CEST 2011


Hi,

I wasn't sure where to ask this question but maybe someone can help?

I've been playing with zmq and its great, I want to use it to enable our 5
servers to push out logging messages to a log server to store it centrally.
Some people would set the 5 servers up as publishers with the log server as
a subscriber, but that requires the log server to know where all the other
servers are, whereas I'd rather have it the other way round.

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.

Any help would be great!

Thanks,
Gehan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110512/af5ebe64/attachment.htm>


More information about the zeromq-dev mailing list