Distributed unique ID generation service

Options:

UUID

128-bit (16B) number. conflict概率极低:

After generating 1 billion UUIDs every second for approximately 100 years would the probability of creating a single duplicate reach 50%

Example: 09c93e62-50b4-468d-bf8a-c07e1040bfb2

Untitled

Pros:

Cons: