Circuit breaker

The circuit breaker pattern is intended to handle failures that are created when a system interacts with other systems that are running in different processes using remote calls. The main idea behind this pattern is to wrap the call with an object that is able to monitor failures and produce successful responses, as shown in the following diagram:

Circuit breaker pattern

Note that the circuit breaker pattern provides an alternate response once a connection can't be established with the targeted service. Let's look at how to implement this pattern and make it part of our application using Hystrix.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.234.28