News for hackers. Stuff that matters.
Re:Nanosecond timestamp collisions are common by SV_BubbleTime on Friday July 21, 2023 @12:16PM (#36815666)
Yea. This is an easy one. We use both.

For our “session” records, it’s a UUIDv7. This sorts beautifully, and if I wanted to, I could look at a log and easily see all the entries in a particular session.

For a larger db, we just need unique entries and at least in Dynamo, it is an advantage to equally distribute them as much as possible. UUIDv4 there.

There are no comments on this comment yet.