Try Again, Then Stop Trying
Try Again, Then Stop Trying: Retry: Try Again, a Little Later, Circuit Breaker: Stop Calling a Broken Service.
Updated
- Retry: Try Again, a Little Later (Journeyman): When a far-away weather service misses one call in a hundred, showing "unavailable" for a hiccup that a second try would fix lets the user down; Retry tries again a few times, waiting longer each time with a little randomness, and only for calls that are safe to repeat.
- Circuit Breaker: Stop Calling a Broken Service (Freelancer): When a weather service is down for an hour, every screen that asks it waits for its timeout, again and again, and retries only make the wait longer; a circuit breaker remembers the failures, stops calling for a while, and lets one trial call through to see whether the service is back.