Skip to content
Small Systems Notebook

Working notes on running small web services without drama.

Timeouts and budgets

Every network call gets a timeout, and the timeouts of a request add up to a budget that is smaller than the patience of whoever is waiting. A page that calls two services with ten-second timeouts each cannot promise a five-second answer.

The useful habit is to write the budget down first and derive the per-call limits from it, leaving room for one retry.

#ops