Degrade Gracefully

Talk it through out loud with your AI coach.

The problem

  • medium
  • Pro

Your news site's home page combines articles, personalised recommendations, comments counts and the weather. When any one of these fails, the whole page shows an error. Explain how you'd design the page to degrade gracefully.

What a strong answer covers

  • Which parts of the page are essential and which are extras.
  • Containing each extra so its failure stays in its own corner.
  • What each section shows when its data isn't available.
  • Related techniques for protecting shared resources under strain.

Common mistake: Wrapping calls in error handling but still waiting on a slow dependency, so the whole page hangs anyway.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud