wamp
wamp

Reputation: 5949

How's GUID determined?

How can applications ensure it's unique?

Upvotes: 1

Views: 137

Answers (2)

Mike Caron
Mike Caron

Reputation: 14561

Wikipedia is your friend:

http://en.wikipedia.org/wiki/Globally_unique_identifier

Upvotes: 1

Carl Norum
Carl Norum

Reputation: 224962

Well, it's a 128-bit number - collisions are pretty unlikely. Even if it were completely random, you'd be unlikely to get a duplicate even in the history of the universe. There are some modifications to pure randomness to help even those collisions from occuring in practice - you can read several of them on wikipedia.

Upvotes: 1

Related Questions