Database / ScyllaDB Interview questions
What is the difference between ScyllaDB tablets and vnodes?
| Vnodes (legacy) | Tablets (newer architecture) |
| Fixed number of token ranges assigned per node at join time. | Dynamically sized, independently balanced units of data per table. |
| Rebalancing after adding/removing a node can be slow and coarse-grained. | Rebalancing is finer-grained and much faster. |
| Manual tuning of vnode count sometimes needed for large clusters. | Automatically split and moved based on load, closer to Spanner-style splits. |
Vnodes were ScyllaDB's original approach, inherited from Cassandra's design, where each physical node owns many virtual token ranges to smooth out load distribution, but the granularity is still fixed once nodes join. Tablets are a newer, more dynamic model where each table's data is divided into independently-sized tablets that ScyllaDB can split, merge, and move much more responsively as load or cluster size changes, similar in spirit to how some distributed SQL systems handle splits, and they significantly speed up operations like adding a node or scaling a cluster.
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...
