January 2018
Intermediate to advanced
350 pages
9h 7m
English
The circuit breaker involves allowing the application to disable a code path if it is known or estimated as failing.
For instance, if you call a remote service and this service has failed 10 times already, then you can say: don't call this service anymore for 5 minutes. The main idea is to bypass errors when possible.
A circuit breaker generally has three states:
Then, all the conditions to go from a state to the other are configurable. For instance, what triggers ...
Read now
Unlock full access