Advanced Client Load Balancing with Spring Cloud
summary
Live demo shows how to use Ribbon and Spring Cloud filters and rules to turn a naive round‑robin into a resilient client balancer: implemented circuit breaker filtering, response‑time weighted rule, best available and zone affinity filters, and a zone‑preference fix. Demo runs multiple instance containers, visualizes metrics on a Hystrix dashboard, cuts error rate from ~25% to near 0% under moderate load, and sustains ~90–120 RPS before failures. Also explores speculative parallel requests to improve perceived success probability.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 3:19Why load balancing
- 10:02Demo: Round Robin
- 13:35Circuit Breaker pattern
- 16:23Weighted Response Time rule
- 20:56Best Available rule
- 26:20Zone Affinity filter
- 31:23Zone balancing issues
- 37:04Configuration optimization
- 40:40Speculative calls
- 45:07Summary
related talks
49mSpring Cloud *: Exploring Spring Cloud Implementations
52mIntroduction to Spring Cloud
01h 20mGetting Started with Spring Cloud
01h 27mSpring Cloud at Netflix
53mThe Beginner’s Guide To Spring Cloud
01h 01mCloud Native Java
01h 23mDeveloper Experience with Spring Cloud
41mLiving on the Edge (Service): Bunding Microservices
