[zeromq-dev] subscribe/unsubscribe refcounting behaviour

Pieter Hintjens ph at imatix.com
Thu Aug 19 11:02:56 CEST 2010

On Thu, Aug 19, 2010 at 9:54 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Yes. It can be done. I can even imagine both ways of doing things:
> idempotent subscriptions as well as refcounted subscriptions. My feeling
> is that as we progress with the subscription forwarding implementation
> one option would prove as unsuitable. So let's preserve current
> semantics and see whether it holds as implementation progresses or
> whether it will have to be changed.

That's a very good approach.  Intuitively it seems that since a
network of forwarders each act as publishers and subscribers in turn,
each will have to normalize subscriptions upstream, denormalize
messages downstream, and so this will all "just work" idempotently.
But running code is the only proof... :-)

Martin, if there's anything I can do to help give me a shout.

Pieter Hintjens
iMatix - www.imatix.com

More information about the zeromq-dev mailing list