Skip to content
RED SAGSkills
hardBackend Developer interview question

One slow downstream dependency caused your whole platform to go down. How would you handle the incident, and what would you change afterwards?

What the interviewer wants to hear

  • Mitigate first: shed load, disable the feature, roll back, scale
  • Explain the mechanism: threads or connections exhausted by waiting on slow calls
  • Timeouts with deadlines, circuit breakers and bulkheads
  • Limit retries with backoff, jitter and retry budgets
  • Load shedding and graceful degradation
  • Blameless postmortem with action items and better alerting

Model answer

During the incident I focus on stopping the damage, not on the root cause: turn off the feature that calls the dependency with a flag, shed non-critical traffic, or roll back if a deploy triggered it, while keeping a timeline in the incident channel. The usual mechanism is that callers wait on the slow service with long timeouts, so their threads and connection pools fill up, and then their callers do the same. Retries at every layer multiply the load. Afterwards I would add short timeouts with propagated deadlines, circuit breakers that fail fast, and bulkheads, meaning separate pools per dependency so one cannot starve the others. Retries would be limited to one layer, with backoff, jitter and a retry budget. I would add load shedding and degraded responses, such as cached data. Finally, a blameless postmortem with owned action items and alerts on dependency latency.

Can you answer it under time pressure?

Take a timed hard round and get scored on every answer.

Start mock interview

More hard Backend Developer questions