All jobs / Backend developer / Distributed Systems

Backend developer interview question · 3–5 years

The interviewer asks: “A dependency is failing. How do you stop your service from dying with it?” Strongest answer?

The strongest answer

A circuit breaker (or concurrency limiter) plus a timeout: fail fast, shed or degrade, and probe half-open. I don't queue unbounded work behind a dead dependency.

Why it works

Exactly. Breakers protect your pool and give the dependency room to recover. Combine with a fallback the product agreed to.

What a good answer covers

Answers that fall short

Who gets asked this

More Distributed Systems questions