Content deleted Content added
No edit summary |
No edit summary |
||
Line 5:
{{Lead too short|date=July 2022}}
}}
'''Circuit breaker''' is a [[Design pattern (computer science)|design pattern]] used in [[software development]]. It is 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. Circuit breaker pattern prevents [[Cascading failure|cascading failures]] particularly in [[Distributed computing|distributed systems]] <ref>{{Cite book |title=Machine Learning in Microservices Productionizing Microservices Architecture for Machine Learning Solutions |publisher=Packt Publishing |year=2023 |isbn=9781804612149}}</ref>.
Circuit breaker pattern should be used along with other patterns such as retry, fallback and timeout pattern. This helps the system to be more [[Software fault tolerance|fault tolerant]].<ref>{{Cite book |title=Kubernetes Native Microservices with Quarkus and MicroProfile |publisher=Manning |year=2022 |isbn=9781638357155}}</ref>
|