[zeromq-dev] subscribe/unsubscribe refcounting behaviour

Pieter Hintjens ph at imatix.com
Wed Aug 18 13:11:23 CEST 2010

On Wed, Aug 18, 2010 at 12:35 PM, Matt Weinstein
<matt_weinstein at yahoo.com> wrote:

> Why not use a UUID (identity) for each subscriber, and maintain per-
> subscriber idempotency? (is that a word? :-) )  Then you know what was
> subscribed to...

Yes, if you use identities you can manage this even as subscribers
disconnect and reconnect.  Without identities, disconnection would
have to mean losing subscriptions, but that could be handled between
sub and pub sockets.

Pieter Hintjens
iMatix - www.imatix.com

More information about the zeromq-dev mailing list