Better Call Fallback: Designing resilient services
summary
Shows concrete resilience patterns and failures: how one‑in‑a‑million faults at 1,000 req/s become an every‑15‑minute problem, why retry with exponential backoff avoids self‑DDoS, and when to use circuit breaker and bulkheading versus asynchronous queues. Demonstrates the outbox pattern, idempotency keys, leader election, dry‑run and compensating transactions, and tools like akka Airline elixir, Open Telemetry and chaos monkey. Cites a real incident that sent 700,000 texts to one person and a half‑billion‑dollar failure in 45 minutes to motivate kill‑switches.
AI-written summary · about
chapters (17)
- 0:00Introduction to failure handling
- 4:15Basic resiliency patterns
- 8:09Retries and exponential backoff
- 12:04Bulkheads and throttling
- 14:12Circuit breakers explained
- 18:48Asynchronous error handling
- 20:33Message queues and pitfalls
- 24:28Multi-node deployments
- 25:52Offline-first applications
- 27:18Failure backlog and retries
- 27:59Gradual startup and warmup
- 29:04Dry runs and compensating transactions
- 31:12Saga pattern for distributed processes
- 32:59Kill switches and safety mechanisms
- 34:02Graceful degradation strategies
- 35:04Testing resiliency in systems
- 36:51Boring technologies and observability
