16. 16
Example (Real Life)
Our web application showing a page…
One day, that 3rd
party system failed
An avatar was representing
the customer on each page
The app didn’t know what
to do – so it failed, too
A 3rd party system
generated the avatar
Our applicationwas completelydown,
all because ofa minoricon missing...
17. 17
Why did this cause your
application to fail?
§ Recognizedthe failureof the 3rd party provider as
soon as possible
§ Substitutea generic image (or removed it)
when the servicefailurewas detected
§ Circuit Breaker patternwould help a lot here
It didn’t know how to respond.
It could have:
19. 19
Example (Real Life)
Accountservice was havingperformanceproblems…
Customers felt a
performance problem
Someone was
sending bad requests
400
System had
“browned out”
0
Service tried to
process the request…
(And eventually failed)
20. 20
So, what brought our
application to its knees?
§ Input to the servicewas obviously bad
§ Yet, we attempted to use the input
§ Result was a failedservice