[zeromq-dev] Seldom publisher is not listened to for long ?

Martin Sustrik sustrik at 250bpm.com
Mon May 16 08:38:27 CEST 2011

On 05/16/2011 08:24 AM, Martin Raspaud wrote:

> This seems to work great when publishing messages regularly. However, a
> typical use case for us would be to publish one message every two or
> three hours. In those cases we have noticed that the subscriber after a
> while is just not receiving any messages anymore (no obvious error
> message or so).
> We fixed the problem by implementing a heartbeat, but I'm a bit
> sceptical. ZeroMQ should know better, right ? Or maybe is this not a zmq
> problem, maybe it's related to an underlying network layer ? Does anyone
> have an idea on this ?

Hm. Looks like a bug. Maybe some misinteraction between 0mq and TCP 

So the use case is to have a single pub/sub pair connected over TCP, 
publish message every 3 hours, right?


More information about the zeromq-dev mailing list