Circuit breaker
The circuit breaker is an integral pattern for making microservices resilient by limiting failures, spiked latency, and other network anomalies that might disrupt a service's workflow. This capability is configured at the application layer. We should enable circuit breaker rules and then intentionally break the rules to test the resiliency of an application. The most popular tasks that enable circuit breaking are for connections, requests, and outlier detection.
Policies for circuit breaking can be defined as DestinationRule in the YAML configuration file for a designated service. A circuit breaker rule is defined using destination rules, which are a set of policies that are requested after a VirtualService routing is defined ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access