Design for failure
summary
Company runs ~2000 servers and stores ~2 PB while pushing 1 million requests/sec; a single billing bug costs hundreds of thousands of euros. Failures are expected, so designs use circuit breakers, timeouts, bulkheads, async queues (Kafka), feature flags, canary releases and chaos monkey experiments. Teams automate deploys, keep a stable master, run synthetic transactions for monitoring, and aim for small frequent releases—about 20 releases/day per team—so rollbacks, capacity planning and denormalized fallback data let the system survive and recover fast.
AI-written summary · about
chapters (17)
- 0:00Introduction and context
- 3:25Company background and challenges
- 7:59Design for failure philosophy
- 10:06Handling cascading failures
- 13:17Minimizing user interaction
- 16:09Avoiding multithreading pitfalls
- 18:15Managing production deployments
- 21:43Small frequent releases
- 24:33Capacity planning importance
- 27:04DevOps approach and practices
- 32:01Learning from failures
- 35:52Microservices and monitoring
- 39:22Semantic monitoring and alerts
- 41:09System adaptability and flexibility
- 43:40Automating operations
- 46:13Transparency and access to systems
- 48:30Q&A and closing remarks
