Circuit Breaker: Author: Altaf Adil Mulesoft Solutions Architect
Circuit Breaker: Author: Altaf Adil Mulesoft Solutions Architect
Circuit Breaker: Author: Altaf Adil Mulesoft Solutions Architect
2020-06-04
Author: Altaf Adil
MuleSoft Solutions Architect
Agenda
In a distributed environment, calls to remote resources and services can fail due
to:
These faults typically correct themselves after a short period of time and can be
handled using retry pattern.
These faults might take much longer to fix and might be pointless for an
application to continually retry an operation
A circuit breaker is an automatic switch that stops the flow of electricity in the event of a
failure. This sort of behavior is also useful when integrating with remote systems.
The Retry pattern enables an application to retry an operation in the expectation that it'll
succeed. The Circuit Breaker pattern prevents an application from performing an operation
that is likely to fail.