News for hackers. Stuff that matters.
Re:SCRU128: Sortable, Clock and Random number-based Unique i... by j-pb on Thursday April 21, 2022 @04:15PM (#31114645)
> and to make DB indices happy.

You can do both, use a low precision timestamp with overflows in the ID to keep the index happy, and add a proper timestamp field for analytics.

The 32 + 96 split is what postgres uses for example. I'd say that's a pretty good endorsement.

There are no comments on this comment yet.