Circuit Breaker: Stop Calling a Broken Service

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.

By

Updated

Cheat sheet: Circuit Breaker: Stop Calling a Broken Service
Category
Data Structures
Level
Freelancer
Tags
Circuit Breaker, OOP, Retry with Backoff, software-development, State Pattern