Introduction

Circuit Breaker  •  Article  •  6/10/2023  • 

The Aptean Circuit Breaker (CBR) extension is a design pattern used to detect failures and encapsulates the logic of preventing a failure from constantly recurring, during maintenance, temporary external system failure or unexpected system difficulties. It is used to check the availability of an external service. An external service can be a database server or a web service used by the application. Circuit Breaker detects failures and prevents the application from trying to perform the action that is doomed to fail (until it's safe to retry). It first performs the number retries set in the supported apps, when this fails, the Circuit Breaker Pattern will take it over. If all goes well, the Circuit Breaker will never be active.