PrepCity

Hot keys

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 7 pages · about 5 min

Hot keys

One very popular key overloads the single cache shard that owns it; local copies and read replicas spread the heat.

Words you’ll learn

  • API
  • Replica
  • Redis
  • Shard
  • Hot key
  • Latency
  • Cache
  • TTL
  • PostgreSQL
  • Stale read

Page by page