Battle of the Circuit Breakers: Istio vs. Hystrix/Resilience4J
summary
Compares Istio’s mesh-level circuit breaking versus a library approach using Resilience4J on Java Spring and Kubernetes, and shows a two-service demo (shop -> pricing) that injects failures until a grace count of 10 triggers repeated timeouts. Istio enforces black-box Istio no fallback behavior and returns fast 500s, while Resilience4J composes time-limiters + breakers + a cache fallback so responses keep coming; the demo opens the circuit and the cache fallback works.
AI-written summary · about
chapters (10)
- 0:00Introduction and context
- 3:17Microservices organizational reality
- 9:14Network unreliability in distributed systems
- 11:51Circuit breaker concept explained
- 14:26Fallback strategies in e-commerce
- 20:58Service mesh with Istio
- 24:58Resilience4j vs Hystrix
- 26:53Functional programming with Resilience4j
- 30:43Live demo of circuit breaker
- 33:18Closing and resources
