21CTO
Jan 19, 2021 · Backend Development
Why We Shifted Away from Database‑Generated IDs to 64‑Bit Domain IDs
The article explains how our team, while building a SQL Server data catalog, adopted decoupling principles to avoid coupling business logic to a specific database, opting for domain‑generated 64‑bit IDs instead of database‑generated keys, and discusses the benefits of Snowflake‑style ID generators.
64-bit integerDistributed SystemsDomain-Driven Design
0 likes · 6 min read
