Database / Apache Cassandra Intermediate and Advanced interview questions
What is the difference between consistency levels ONE, QUORUM, and ALL?
These are three of the most commonly used consistency levels, and each shifts the balance between speed, availability, and correctness differently.
| ONE | QUORUM | ALL |
| Only 1 replica must respond. | (N/2)+1 replicas must respond. | All N replicas must respond. |
| Fastest, most available. | Balances speed and correctness. | Strongest consistency, weakest availability. |
| Tolerates most node failures. | Tolerates a minority of node failures. | Fails if even one replica is down. |
With a replication factor of 3, QUORUM needs 2 of 3 replicas to agree, so the cluster can survive one node outage and still serve strongly-consistent reads/writes when paired correctly (QUORUM read + QUORUM write satisfies R+W>N).
ONE is popular for high-throughput, latency-sensitive workloads like clickstream logging where an occasional stale read is acceptable. ALL is rare in production because a single dead or slow replica blocks the entire request, hurting availability far more than QUORUM does for only a small consistency gain.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
