On Sat, Jul 24, 2010 at 6:06 AM, Pieter Hintjens <[email protected]> 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" <[email protected]> wrote: > > [email protected] 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 > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > -- Brian E. Granger, Ph.D. Assistant Professor of Physics Cal Poly State University, San Luis Obispo [email protected] [email protected] _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
