Circuit breaker design pattern: Difference between revisions

Content deleted Content added
m general fixes, removed wikify tag using AWB
m Implementation: Repairing links to disambiguation pages - You can help!
Line 15:
The Circuit Breaker Design Pattern should be implemented asynchronously. The reason is to offload the logic to detect failures from the actual request.
 
This requires Circuit Breaker to use a persistent storage layer, e.g. a network cachcache such as [[Memcached]] or [[Redis (data store)|Redis]], or local cache (disk or memory based) to record the availability of a, to the application, external service.
 
Circuit Breaker records the state of the external service on a given interval.