Cassandra vs RDBMS Trade-offs
Articulate the fundamental architectural and modeling trade-offs between Cassandra and traditional relational databases.
These are not competitors with different feature sets. They make opposite choices on the same questions, and each choice buys something by giving something up.
An RDBMS is like a single, meticulously organized central library with a full card catalog letting you cross-reference anything against anything else, but only one librarian can update the catalog at a time. Cassandra is like a global chain of libraries, each with quick,独立 local checkout counters that never wait for a central authority, at the cost of each branch needing its own pre-organized, purpose-built shelf for every specific type of request you expect people to make.
Key Concepts
RDBMS Cassandra
one node holds the truth every node is equal
joins at read time joins done at write time
schema models entities schema models queries
scale up, or shard by hand add a machine
consistent, may be unavailable available, consistency per query