[zeromq-dev] routing adress problem

gonzalo diethelm gdiethelm at dcv.cl
Mon Dec 5 18:56:43 CET 2011


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: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-
> bounces at lists.zeromq.org] 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 <gdiethelm at dcv.cl>
> 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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list