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

Reply via email to