Psuedo-unique id based on peer names
07-12-2011, 03:26 PM
Post: #1
Psuedo-unique id based on peer names
Hi all, i had an idea last night, not sure if it is useful for what we are doing, but i will throw it out there anyway.

The basic concept is we identify ourselves based our peers, we get a unique identifier but with routing information embedded in it.

Instead of using globally unique identifiers, (UUID is 16 bytes), we only use say 4 bytes for a "locally unique identifier (LUID)" (which i just made up) name.

We combine our 4 byte LUID with the LUID of 3 of our trusted peers, and bingo we have a 16 bytes identifier which should be globally unique.

eg. Say we have
My name: AB
LUID of Trusted Peer 1: CD
LUID of Trusted Peer 2: EF
LUID of Trusted Peer 3: GH

My UUID would be ABCDEFGH
The UUID of CD might be CDABGHIJ

All local names will have collisions, so it cant be used to identify you globally like an IP address can.

Also, it may allow mechanisms for easy renaming, if i change my from AB to XY, and i still have the same trusted peers i become XYCDEFGH, maybe looking for AB in CD, EF and GH will still find me.

I consider it a half-baked idea at their stage, so i dont know how it might fit in, maybe it can inspire an idea in someone else.
Find all posts by this user
 


Forum Jump: