[zeromq-dev] Disconnect notification.
Pieter Hintjens
ph at imatix.com
Mon Jul 12 20:42:14 CEST 2010
On Fri, Jul 9, 2010 at 8:56 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> The heartbeats are an interesting problem. I haven't yet made my mind
> about them. AFAICT the only real use cases for heartbeats is in
> high-availability systems to initiate fail-over.
There is probably a wider use case, based on detecting network
problems before TCP times out, and on detecting blocked (looping)
peers. Admittedly blocked peers is unlikely with 0MQ handling IO but
it's not excluded.
You probably only need _aggressive_ heartbeating (under a second) on
HA systems.
I'm trying to recall the websocket discussion on heartbeating (and
that is not for HA systems but for wider Internet use) but that list
is rather confusing.
-Pieter
More information about the zeromq-dev
mailing list