Consistent Hashing

Cluster resize

A distributed cache uses 8 nodes. You need 10. Explain why `hash(key) % 8` → `% 10` is painful. How does consistent hashing on a ring limit how many keys move? Give an order-of-magnitude fraction.

Intermediate drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson