intermediate~4h
Cassandra — Partitioning, Replication & Consistency
Apache Cassandra is a distributed wide-column database designed for high-write throughput, linear scalability, and no single point of failure. Used by Netflix, Apple, Discord, and Instagram.
Learning objectives
- Explain why Cassandra has no single primary node, and what that buys and costs compared to MongoDB's replica set model.
- Trace how consistent hashing assigns a row to a node using its partition key.
- Choose an appropriate consistency level (ONE, QUORUM, ALL) for a given read or write, and justify the choice.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full Databases Mastery library.
Cassandra — Partitioning, Replication & Consistency