Three resilience patterns with Twitter's Finagle
summary
Uses the Finagle HTTP client (Scala/JVM) to build a resilient Java client that demoed three concrete patterns: load balancing with node health detection, a retry filter with a retry budget and backoff (10ms first retry, incremental backoff) that turns a simulated 30% 404 failure into ~100% success at the cost of added latency, and failover to a legacy endpoint missing wind data. Demos run on Raspberry Pi cluster; code is a few lines and works as shown.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 0:26Who are you
- 1:39Hobbies
- 2:21Failure
- 4:17Uptime
- 5:09Networking
- 7:03Resilience
- 9:26Client code
- 10:17Weather simulation
- 11:42Finagle
- 12:34How Finagle works
- 14:29Load balancing
- 15:53Finagle client
- 18:42Test run
- 22:45Re retry policy
- 25:05Send request that looks a little
- 28:31What if we employ growth
- 29:33The only difference
- 30:11failover
- 30:53client setup
- 32:16graph tokens
- 34:08demo
