[zeromq-dev] Is recoverable swapping a possibility in the future?

Martin Sustrik sustrik at 250bpm.com
Tue Mar 1 18:12:39 CET 2011


On 03/01/2011 06:07 PM, Pieter Hintjens wrote:

> I'm confused, Martin. The UUID's used for transient sockets are by
> definition unique, that's what UUID means. The identities used for
> durable sockets are by definition the application's problem and it's
> up to the app to make them unique.
>
> So why can't a durable socket identity be used?

There's no guarantee that two peers won't connect to 2 different sockets 
using the same identity.

Identity is guaranteed to be unique among peers attached to a single 
socket. That's all.

Anyway. No point in discussing it, as the messages are swapped to the 
file only in case of congestion, making the file useless for recovery.

Martin



More information about the zeromq-dev mailing list