[zeromq-dev] does Pub/sub guarantee delivering within Local Net ?

Pieter Hintjens ph at imatix.com
Wed Aug 1 14:50:19 CEST 2012


On Wed, Aug 1, 2012 at 5:54 PM, Danil Gazizov <danil.gazizov at gmail.com> wrote:

> So, does pub/sub guarantee delivering (while there is no hardware crashes)?
> And the second question - could Data-process server be blocked to publish
> when its zmq-buffer overflows?

There's some discussion of this in the Guide. There are a lot of ways
things can go wrong: http://zguide.zeromq.org/page:all#toc64

Most of these are rare enough. What's more common is slow subscribers,
leading to queue overflows in the publisher, or dropped messages, if
you set a HWM in the publisher.

If you write fast subscribers, or your message rate is low enough to
process safely, and if you don't have any failures in processes,
operating systems, or networks, then pub sub will be reliable.

-Pieter



More information about the zeromq-dev mailing list