HardDesign: Distributed Key-Value Store (Redis/DynamoDB)
What is the advantage of consistent hashing over modulo hashing for data distribution?
— Tests your understanding of this concept.
Answer Options
AConsistent hashing is faster
BAdding or removing a node only remaps K/N keys instead of remapping all keys
CConsistent hashing supports more data types
DConsistent hashing requires fewer nodes
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 22+ more Design: Distributed Key-Value Store (Redis/DynamoDB) questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the Design: Distributed Key-Value Store (Redis/DynamoDB) topic (System Design Cases).
More Design: Distributed Key-Value Store (Redis/DynamoDB) Questions
What does the CAP theorem state?
HardFor N=3 replicas, W=2 writes, R=2 reads: is strong consistency achieved?
HardTwo clients simultaneously write different values to the same key on two different nodes (network partition). How do you resolve this conflict?
HardWhat is the purpose of virtual nodes (vnodes) in consistent hashing?
HardExplain the LSM-tree write path and why it's faster than B-tree for write-heavy workloads.
Hard