SpinTheMic
Pro

Explain it in 60 seconds

Cache penetration vs cache avalanche

System Design · Caching · Intermediate

What are cache penetration and cache avalanche?

What a strong answer covers

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

  • Penetration: requests for data that never exists bypass cache.
  • Fix: negative caching, bloom filter, validation.
  • Avalanche: many keys expire or cache fails at once.
  • Fix: jittered TTLs, HA cache, rate limiting.
  • Both flood the DB.
Practise this topic

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

See all topics