I'm sorry, I was not clear. I meant that UUIDs (in abstract) are universally unique; whatever 0MQ does with them is something else. But if you generate and use a UUID as an identifier in your messages, you are guaranteed they will be unique.
-- Gonzalo Diethelm DCV Chile > -----Original Message----- > From: [email protected] [mailto:zeromq-dev- > [email protected]] On Behalf Of Pieter Hintjens > Sent: Monday, December 05, 2011 1:29 PM > To: ZeroMQ development list > Cc: zebbey > Subject: Re: [zeromq-dev] routing adress problem > > On Mon, Dec 5, 2011 at 1:55 PM, gonzalo diethelm <[email protected]> > wrote: > > > You said that "ZMQ UUIDs should not be used as long term identifiers > > to clients, since they are guaranteed to be unique per *connection*". > > Are you sure about this? UUIDs are supposed to be universally unique > > (hence their name). > > You should not use identities as long-term handles to clients. They > specifically > and only make sense as short-term identifiers for connections to a single > ROUTER socket, period. > > The current use of UUIDs is an internal mechanism, not documented. > libzmq can change its mind at any stage. > > -Pieter > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
