Circuit breaker design pattern: Difference between revisions

Content deleted Content added
Jrbenito (talk | contribs)
Common Uses: avoid second person "you" or first person "I" in this section
Line 10:
==Common Uses==
 
Assume that youran application connects to a [[database]] 100 times per second and the database fails. YouApplication dodesigner does not want to have the same error reoccur constantly. YouShe also wantwants to handle the error quickly and gracefully without waiting for [[TCP connection]] timeout.
 
Generally Circuit Breaker can be 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.