Martin, I have been thinking about this, but is it possible to identify gaps if 
I am subscribing to channels? What about multiple publishers.

On Feb 19, 2011, at 11:21 PM, Martin Sustrik 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