SpinTheMic
Pro

Interview practice question

Designing a two-level cache

System Design · Caching · Intermediate

Your Redis cluster handles 1 million reads per second and is near its limit, mostly for a small set of very hot keys. What would you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Add local in-process cache (L1).
  • Short TTL (seconds) for hot keys.
  • Redis as L2.
  • Invalidate via pub/sub.
  • Big drop in Redis load.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics