What is Apache Cassandra, and what are its core design principles?
Last updated
Apache Cassandra is a distributed wide-column NoSQL database designed for scalability and high availability. Its core design principles come from combining Amazon Dynamo's distribution model with Google Bigtable's storage model.
Decentralized / peer-to-peer: No master node, so there is no single point of failure; every node is identical and uses gossip to share state.
Elastic and linear scalability: Add nodes to increase throughput and capacity proportionally, with data spread via consistent hashing.
High availability and fault tolerance: Data is replicated across nodes and datacenters; the cluster tolerates node loss without downtime.
Tunable consistency: Per-request consistency levels (e.g.
ONE,QUORUM,ALL) let you trade consistency for latency/availability, reflecting AP in the CAP theorem.Optimized for writes: Log-structured storage (commit log, memtable, SSTables) makes writes fast and append-only.
- https://cassandra.apache.org/doc/latest/cassandra/architecture/overview.html
- https://cassandra.apache.org/doc/4.1/cassandra/architecture/overview.html
- https://cassandra.apache.org/doc/stable/cassandra/architecture/dynamo.html
- https://murukeshm.github.io/cassandra/3.10/architecture/dynamo.html
- https://dev.to/farhadrahimiklie/apache-cassandra-database-the-complete-guide-architecture-internals-and-full-cql-syntax-23f7
- https://medium.com/@shubham.patel191295/cassandra-for-system-design-interviews-when-to-pick-it-how-it-shards-and-every-question-youll-5542335def0e
- https://www.geeksforgeeks.org/nosql/apache-cassandra-interview-questions-2/
- https://www.instaclustr.com/education/apache-cassandra/apache-cassandra-database/