All jobs / Backend developer / Distributed Systems

Backend developer interview question · 1–3 years

The interviewer asks: “Your HTTP client has no timeout. What's the risk?” Strongest answer?

The strongest answer

A hung dependency holds a thread/connection forever, the pool drains, and the whole API dies with it. I set connect and request timeouts on every outbound call — including the database.

Why it works

Exactly. Timeouts are blast-radius control. No timeout is an unbounded distributed deadlock.

What a good answer covers

Answers that fall short

Who gets asked this

More Distributed Systems questions