The circuit-breaker pattern
In the cloud scenario with distributed systems, the probability of service failure exists for several reasons, such as a lack of connection or an unavailable service. The services created in the cloud must rely on this scenario and be prepared for fault-tolerance. This way, when a fault occurs, the reason for the fault will probably be fixed and the service will work again. However, there are situations where failures are caused by totally unexpected events and, even though the service tries to work again, it cannot. The situation is even more critical when there is timeout management.
With very long waiting periods for situations in which the failure does not disappear within a reasonable period of time, computational ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access