[zeromq-dev] Any way to get info on subscribers?

Pieter Hintjens ph at imatix.com
Sat Jul 24 15:06:42 CEST 2010


Yes, we already know that we need heartbeating for any health monitoring
scenario.

-Pieter

Sent from my Android mobile phone.

On Jul 24, 2010 2:21 PM, "Martin Lucina" <mato at kotelna.sk> wrote:

ph at imatix.com said:
> Knowing the number of subscribers also lets a publisher take votes, e.g.
to
> ...
The mere *presence* of a TCP connection to a peer does not indicate that
peer is active in any way.

Therefore, assuming the naive case where the underlying transport is
exclusively TCP, and you have a PUB socket with X SUBs connected to it,
implementing a 0MQ socket option to return X on the PUB side would in no
way help you with "detecting network failures".

It may of course help you to do "other fun things" :-)

-mato

_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org

http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100724/c5abaef2/attachment.htm>


More information about the zeromq-dev mailing list