resilient apps with circuit breakers 2
TRANSCRIPT
![Page 1: Resilient apps with circuit breakers 2](https://reader038.vdocuments.site/reader038/viewer/2022100803/58eba1551a28ab52538b45ff/html5/thumbnails/1.jpg)
Resilient Applicationswith Circuit Breakers
Implementations
![Page 2: Resilient apps with circuit breakers 2](https://reader038.vdocuments.site/reader038/viewer/2022100803/58eba1551a28ab52538b45ff/html5/thumbnails/2.jpg)
![Page 3: Resilient apps with circuit breakers 2](https://reader038.vdocuments.site/reader038/viewer/2022100803/58eba1551a28ab52538b45ff/html5/thumbnails/3.jpg)
![Page 4: Resilient apps with circuit breakers 2](https://reader038.vdocuments.site/reader038/viewer/2022100803/58eba1551a28ab52538b45ff/html5/thumbnails/4.jpg)
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
![Page 5: Resilient apps with circuit breakers 2](https://reader038.vdocuments.site/reader038/viewer/2022100803/58eba1551a28ab52538b45ff/html5/thumbnails/5.jpg)
Circuit Breaker
By Martin Fowler
![Page 6: Resilient apps with circuit breakers 2](https://reader038.vdocuments.site/reader038/viewer/2022100803/58eba1551a28ab52538b45ff/html5/thumbnails/6.jpg)
Circuit Breaker Status
By Javaslang
![Page 7: Resilient apps with circuit breakers 2](https://reader038.vdocuments.site/reader038/viewer/2022100803/58eba1551a28ab52538b45ff/html5/thumbnails/7.jpg)
Solutions
● Home-made
● Netflix Hystrix
● Spring Cloud Netflix
![Page 8: Resilient apps with circuit breakers 2](https://reader038.vdocuments.site/reader038/viewer/2022100803/58eba1551a28ab52538b45ff/html5/thumbnails/8.jpg)
Referenceshttp://springinpractice.com/2010/07/06/annotation-based-circuit-breakers-with-spring
https://github.com/javaslang/javaslang-circuitbreaker
http://cloud.spring.io/spring-cloud-netflix/spring-cloud-netflix.html
https://github.com/Netflix/Hystrix
https://github.com/jneis/circuit-breaker-hack.git