What is a Version 4 UUID?
A Version 4 UUID is a universally unique identifier generated using 128-bit random or pseudo-random numbers. Out of 128 bits, 122 bits are random, resulting in 2¹²² ≈ 5.3 × 10³⁶ possible unique identifiers.
The probability of generating a duplicate UUID v4 is so infinitesimally small that it is practically considered zero.