[zeromq-dev] PUB/SUB unreliabiliity

Pieter Hintjens ph at imatix.com
Mon Jun 16 10:31:04 CEST 2014


On Mon, Jun 16, 2014 at 9:10 AM, Gerry Steele <gerry.steele at gmail.com> wrote:

> Big chunks of messages go missing mid flow and then pick up again. There is
> no literature that indicates that is expected behaviour.

Right. The two plausible causes for this are (a) HWM overflows, and
(b) temporary network disconnects. You have excluded (a), though to be
paranoid I'd probably add some temporary logging to libzmq's pub
socket to shout out if/when it does hit the HWM. To detect (b) you
could use the socket monitoring.  The third possibility is that you're
doing something wrong with subscriptions... though that seems
unlikely.

-Pieter



More information about the zeromq-dev mailing list