[zeromq-dev] Dealer send succeeded/failed

Erwin Karbasi erwin at optinity.com
Tue Jun 4 16:21:03 CEST 2013


Hi Martin,

Thank you a lot for clear explanation.
We need to implement heartbeating feature.

Cheers,
Erwin
On Jun 4, 2013 3:33 PM, "Martin Sustrik" <sustrik at 250bpm.com> wrote:

> Hi Erwin,
>
> No it is not possible to detect the failure of the peer. The problem is
> inherently semi-decidable, i.e. you can make sure that peer is alive (if it
> responds), but there's no way to distinguish a peer failure from a
> slow/dead network.
>
> Thus the only thing you can do is a handshake with the peer and if
> response isn't received in, say, 1 minute, consider the peer dead. Of
> course, you won't be 100% sure -- it can still be caused by network
> failure, congestion or somesuch.
>
> Martin
>
> On 04/06/13 13:54, Erwin wrote:
>
>> Hi Guys,
>>
>> Any help please.
>>
>> Thanks,
>> Erwin
>>
>> ______________________________**_________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/**mailman/listinfo/zeromq-dev<http://lists.zeromq.org/mailman/listinfo/zeromq-dev>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130604/104e29ff/attachment.htm>


More information about the zeromq-dev mailing list