UUID Generation
What is UUID?
UUID (Universally Unique Identifier) is a 128-bit number used to uniquely identify information. It is typically represented as a 36-character string including hyphens. UUID ensures uniqueness in distributed systems without requiring a central coordinating authority.
UUID Versions:
Version 1: Generated based on timestamp and node ID (usually MAC address), contains time information and can be sorted by time.
Version 4: Generated based on random or pseudo-random numbers, the most commonly used version with extremely high uniqueness probability.