Distributed

Lesson 08.7

Timeouts, deadline budgets & retry storms

A retry storm occurs when many callers retry a slow or failing dependency, multiplying load; propagated deadlines and shared attempt budgets stop work that can no longer help.

Three services each retry a slow inventory call

Ava's checkout asks another computer, which asks another. If each tries three times, one order creates twenty-seven last-step calls.

In this lesson you'll

  1. 1Count final calls, respect the shared time limit, and avoid repeating a money movement.
  2. 2Predict what changes before revealing the result
  3. 3Help Ava keep the rules during the new rush