Why is setting appropriate timeouts critical in inter-service calls, and what happens if you rely on default timeouts?

Last updated 3 July 2026

  • Timeouts bound how long a caller waits. Without them, a slow service ties up threads and connections in every upstream caller, causing cascading resource exhaustion.

  • Defaults are often very long or infinite, so a hung dependency hangs you too, long after users have given up.

  • Set explicit timeouts tuned to the dependency's latency percentiles (separate connect vs read), paired with retries, circuit breakers, and a per-request deadline budget.

  • https://engineering.zalando.com/posts/2023/07/all-you-need-to-know-about-timeouts.html
All Microservices interview questions