Skip to main content
← PROBLEMS / SYSTEM-DESIGN
An end-to-end domain learning journey

Mitigating 10x Hot-Key Skew on Consistent
Hash Rings Without Rebalancing Storms.

A viral livestream floods a single cache shard with 10x average RPS, triggering OOM and cascading ring evictions; implement bounded-load consistent hashing to cap shard load at 1.25x average.
Start the journey1 stages
FIRST PRINCIPLES. PRODUCTION SCALE.
The idea to keep with you

When using virtual nodes with bounded loads, track capacity by physical host ID so spillover skips co-located vnodes.

TL;DR30-second simplified summary
▾

Caps shard load at 1.25x average, absorbs 80k RPS hot-key spikes, and snaps back cleanly when traffic normalizes.

01
SYSTEM-DESIGN · STAGE 01L4 · FUNDAMENTALS

Problem statement & core requirements.

A viral livestream floods a single cache shard with 10x average RPS, triggering OOM and cascading ring evictions; implement bounded-load consistent hashing to cap shard load at 1.25x average.

Recommended Learning Flow