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 <[email protected]> wrote:

> On 02/19/2011 10:45 PM, [email protected] 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
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to