[zeromq-dev] durable subscirbers and inproc

mkogan at semanticresearch.com mkogan at semanticresearch.com
Mon Feb 21 04:23:02 CET 2011


Started doing the numbering, until I realized that there are multiple publishers, which could be used as a a namespace but the real problem is that I am subscribing to topics.

Sent from my iPhone

On Feb 19, 2011, at 11:22 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> On 02/19/2011 10:45 PM, mkogan at semanticresearch.com wrote:
>> I am currently keeping some zmq sub sockets open on behalf of clients
>> that have unexpectedly disconnected (web socket closed). I was
>> thinking of making use of named sub socket instead. However, I am not
>> sure if I could know if I missed messages.
> 
> PUB/SUB is inherently unreliable, so messages can be lost even with "durable" sockets (say when the queue overflows).
> 
> Identifying gaps in message sequence can be done by sequence-numbering the messages on the publisher.
> 
> Martin



More information about the zeromq-dev mailing list