[zeromq-dev] routing adress problem

Sean Ochoa sean.m.ochoa at gmail.com
Mon Dec 5 17:44:34 CET 2011


Just a thought.  

Why not use a normal UUID generating lib?  Using zmq (or any lib, really)  other than for what its advertised for can have undesired effects.  

In python I would use stdlib uuid 1-4. 

-- Sean 



Pieter Hintjens <ph at imatix.com> wrote:

>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