UUIDv4, UUIDv7, and Avoiding Deep OFFSET Pagination
··1246 words·6 mins
I initially thought UUIDv7 would be very important for avoiding expensive OFFSET pagination. UUIDv7 is time ordered, while UUIDv4 is random, so it seemed natural that changing the identifier would be the key to fast pagination.