[zeromq-dev] does 0mq keep-alive for connections?

Sergey Matveychuk sem33 at yandex-team.ru
Mon Jan 23 11:12:50 CET 2012


23.01.2012 13:01, Attila-Mihaly Balazs wrote:
> This sounds like this problem:
> http://www.evanjones.ca/tcp-stuck-connection-mystery.html (tl;dr
> version: the final ack packet gets lost when establishing the connection
> but the loss doesn't get detected until actual data is sent).
>
> AFAIK 0mq doesn't do heartbeating on its own, so it can't detect this
> situation without extra user code.

I've looked in application logs and my scenario looks like much easy: a 
client got data and then stuck. It happens often where link could be 
unstable. So I think the client gets lost connection with server but 
because of it send nothing (ZMQ_SUB) it can't detect it.



More information about the zeromq-dev mailing list