resilient applications with circuit breakers
TRANSCRIPT
FAULT TOLERANCE
failure
BREAKDOWN AV
AIL
AB
ILIT
Y
criti
calgr
acef
ulde
grad
atio
n
design
THROUGHPUT
response timeR
ELI
AB
ILIT
Yredu
ndan
cy
replication
perfo
rman
ce
ROBUSTNESS
RE
SIL
IEN
CY
fail-fast
fail-safe
isol
atio
n
Fault Tolerance
● Systems will fail
● But keep delivering service
“Unanticipated actions shouldn’t result in unanticipated behavior from the whole system.” - Brian Troutwine
Embracing Failure
● Faults will occur
● Faults are tolerable
● Modular design
“We should write software that is cynical and expects bad things to happen.” - Michael T. Nygard
References
● “Fault Tolerance on the Cheap”, Brian Troutwine
https://blog.codeship.com/fault-tolerance-on-the-cheap-part-1/
● “Release It”, Michael T. Nygard
http://www.amazon.com/Release-Production-Ready-Software-Pragmatic-Programmers/dp/0978739213
● “Circuit Breaker”, Martin Fowler
http://martinfowler.com/bliki/CircuitBreaker.html
● “Circuit Breaker Pattern in Apache Camel”, Bilgin Ibryam
https://dzone.com/articles/circuit-breaker-pattern-apache