Interview Prep/SRE & Reliability/Releases & Reliability Patterns

A third-party API you depend on has rate limits, and you're hitting them during peaks.

BeginnerScenarioReleases & Reliability Patterns
Answer

Situation read → Hitting a dependency's rate limits causes 429s and failures.

What I'd do →

  1. Implement client-side rate limiting to stay under the limit.
  2. Cache responses where possible.
  3. Queue non-urgent requests and process them at a controlled rate.
  4. Handle 429 with backoff and respect Retry-After.
  5. Negotiate higher limits if needed.

Why → Respecting limits avoids cascading failures and keeps you in good standing with the provider.

Interview tip → Mention honoring Retry-After.

All SRE & Reliability questions

More on Releases & Reliability Patterns