/plushcap/analysis/datastax/datastax-data-model-meets-world-part-ii-identity-crisis

Data Model Meets World, Part II: Identity Crisis

What's this blog post about?

The text discusses the challenges of ensuring unique identity in Cassandra data models, particularly when integrating with other systems that may have their own ways of identifying data elements. It highlights the tension between human-readable identifiers and architectural demands for uniqueness, and presents multiple options such as composite keys, natural keys, and surrogate keys like UUIDs. The text also recommends using UUIDs as surrogate keys for points of interest, hotels, and amenities in a hotel data model to ensure uniqueness and support cross-data type references. It emphasizes the benefits of decoupling relationships between different data types through the use of unique identifiers, which can facilitate microservice architectures where each service owns a specific data type.

Company
DataStax

Date published
Aug. 10, 2017

Author(s)
Jeffrey Carpenter

Word count
2033

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.