intermediatetermWeb foundationsWeb foundations / Backend and APIs / Circuit Breakers
IntermediateNot yet reviewed

Circuit Breakers

A design pattern used to detect failures and encapsulate the logic of preventing a failure from constantly recurring during maintenance or outages.

Definition

A design pattern used to detect failures and encapsulate the logic of preventing a failure from constantly recurring during maintenance or outages.

Use case

Stopping payment service calls and displaying a graceful fallback error if the third-party payment provider goes down.

Related terms

Articles

Circuit breaker

Martin Fowler · Article · link checked 2026-10-16

The classic explanation of failing fast to protect the whole system.

Suggest a change