[zeromq-dev] zeromq-dev Digest, Vol 34, Issue 72
Pieter Hintjens
ph at imatix.com
Thu Oct 14 17:19:15 CEST 2010
On Thu, Oct 14, 2010 at 3:18 PM, Marcelo Cantos
<marcelo.cantos at gmail.com> wrote:
> My apologies in advance if I've misunderstood what Pieter is saying, but the
> above statement doesn't sit right with me. Blocked applications are either
> effectively dead because they have entered an endless loop, or are simply
> taking an awfully long time to compute the billionth digit of pi.
Sure, this is why heartbeating should be configurable. In some
applications it has to be 1/10th of a second, in others it should be
60 seconds or more.
In some cases (pipeline, pubsub) heartbeats can only work at the
transport level.
In other cases you do need heartbeats at the application level as
well. So IMO we'll need them both in the tcp:// transport and on top
of that in some use cases.
-Pieter
More information about the zeromq-dev
mailing list