ZyBit

Back
About UUIDs

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit label used to uniquely identify information in computer systems. The probability of collision is extremely low, making them ideal for distributed systems.

UUID Versions:

  • UUID v4: Generated using random numbers. Most widely used.
  • UUID v1: Based on timestamp and MAC address. Sortable by creation time.
  • NIL UUID: Special UUID with all bits set to zero (00000000-0000-0000-0000-000000000000).

Common Use Cases:

  • Database primary keys
  • Session identifiers
  • File naming
  • Distributed systems
  • API request tracking