logoalt Hacker News

eaf7e281yesterday at 7:36 PM1 replyview on HN

> leak state (e.g. UUIDv7)

But according to PostgreSQL, UUIDv7 provides better performance in the database, so is this essentially a trade off between security and speed?


Replies

jubilantiyesterday at 7:48 PM

Yes, because UUIDv7 gives up some random bits in order to include the timestamp, which is done in a way that makes UUIDv7s quick to sort by timestamp.

show 1 reply