Prevent a Cache Stampede

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • hard
  • Pro

The cached homepage data expires every five minutes, and each time it does, hundreds of requests hit the database at once and it slows to a crawl. Explain what's happening and several ways to prevent it.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →