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

Pieter Hintjens ph at imatix.com
Tue Mar 1 18:36:42 CET 2011


On Tue, Mar 1, 2011 at 6:12 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

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

If you use durable sockets, it's up to the application to guarantee
this, which it can, or suffer the results.

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

This is inaccurate, the uuid_generate() function creates a
*universally* unique ID. That is the point of UUIDs, they are not
simply random numbers with a risk of duplicates.

-Pieter


More information about the zeromq-dev mailing list