/plushcap/analysis/buildkite/goodbye-integers-hello-uuids

Goodbye integers. Hello UUIDv7!

What's this blog post about?

Buildkite has adopted the UUIDv7 standard as their primary key of choice, offering efficient indexing and external use. The company previously used sequential primary keys for indexing and UUID secondary keys for external use. However, the upcoming UUIDv7 standard provides time-ordered primary keys that can be utilized for both purposes. UUIDs are unique identifiers generated independently without coordination with other parties, making them preferable in sharded database environments. The adoption of UUIDv7 as the primary key eliminates the need for coordinated identifier generation and simplifies application logic.

Company
Buildkite

Date published
Sept. 25, 2023

Author(s)
Gordon Chan

Word count
1361

Hacker News points
726

Language
English


By Matt Makai. 2021-2024.