• Register
0 votes
asked by

1 Answer

0 votes
It depends on how the UUIDs were generated.

UUIDs were introduced with an intent to aid distributed systems to independently generate a unique identifier that is practically unique in most cases. Collisions of UUIDs is possible, but the probability is very less, which is of the order of 0.00000001% or even less with better randomization. During the initial days of the introduction of UUIDs, UUID was formed by combining the time-stamp and the MAC address of the machine that is generating the UUID. So, effectively, the UUIDs were opaque and in these versions, you can compare UUIDs and decide which was generated first.

However, with the later versions of UUID, this opacity has been addressed and the UUIDs are mostly random in nature they don't practically carry  timing information nor clues about where/who/how it was generated.

Refer to wiki for more details on UUID - http://bit.ly/uu-id
answered by (888 points)