▲ | PhilippGille a day ago | |
How many clients requests do you get in the same millisecond? With UUIDv7 it's split into: - 48 bits: Unix timestamp in milliseconds - 12 bis: Sub-millisecond timestamp fraction for additional ordering - 62 bits: Random data for uniqueness - 6 bits: Version and variant identifiers So >4,600,000,000,000,000,000 IDs per fraction of a millisecond. And unprecise time on the client doesn't matter, because some are ahead and some behind, vut that doesn't make them more likely to clash. | ||
▲ | cenamus a day ago | parent [-] | |
Does that factor in the birthday paradox? |