Buildkite has adopted UUIDv7 as the primary key for their data storage. UUIDs provide unique identifiers without the need for coordination, making them preferable in distributed databases. The random nature of non-time-ordered UUIDs can negatively affect database performance. By using time-ordered UUIDs, Buildkite saw a

6m read timeFrom buildkite.com
Post cover image
Table of contents
What are UUIDs?Using dual identifiersUnderstanding poor index localityImproving how UUIDs workExperimenting with time-ordered UUIDv4Introducing UUID Version 7Migrating to UUIDv7 as the primary keyAlternatives considered and trade-offsLooking ahead
1 Comment

Sort: