[zeromq-dev] Any way to get info on subscribers?
Brian Granger
ellisonbg at gmail.com
Sat Jul 24 17:07:03 CEST 2010
On Sat, Jul 24, 2010 at 6:06 AM, Pieter Hintjens <ph at imatix.com> wrote:
> Yes, we already know that we need heartbeating for any health monitoring
> scenario.
As an aside we have been able to implement request/reply heartbeats
using the standard 0MQ devices with great success. Basically new code
is required. You just have to pick the right device and socket types.
Cheers,
Brian
> -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
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
--
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com
More information about the zeromq-dev
mailing list