Database / ScyllaDB Interview questions
What are the types of consistency levels in ScyllaDB?
ScyllaDB, like Cassandra, offers tunable consistency, letting each read or write specify how many replicas must acknowledge before the operation succeeds.
| Level | Meaning |
| ONE / TWO / THREE | That exact number of replicas must respond. |
| QUORUM | A majority of all replicas across the cluster. |
| LOCAL_QUORUM | A majority of replicas within the local datacenter only. |
| ALL | Every replica must respond. |
| ANY (write-only) | Succeeds even if only a hinted handoff was stored. |
Choosing a consistency level is a trade-off between latency/availability and strictness: ONE is fastest but can return stale data, while ALL guarantees freshness but fails if even one replica is unreachable. LOCAL_QUORUM is a common default for multi-datacenter clusters since it gives strong consistency within a region without paying cross-datacenter round-trip latency.
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...
