Phase 7 · Reliability & Resilience
Resilience patterns, disaster recovery and rate limiting.
- Timeouts, Retries, Circuit Breakers & Bulkheads: How slow dependencies take down healthy services, and the resilience toolkit (deadlines, jittered retries, retry budgets, breakers, bulkheads, load shedding, hedging) that stops it.
- Redundancy, Disaster Recovery & Multi-Region: From availability math and backups to RPO/RTO tiers, multi-AZ vs multi-region, active-active conflicts, failover pitfalls, cells and chaos engineering — plus what to do when the DB, Redis, Kafka, an AZ or a whole region disappears.
- Rate Limiting & Throttling: Fixed window, sliding log, sliding window counter, token bucket and leaky bucket — implemented, compared and distributed across a fleet, with the headers, placement and fail-open/fail-closed decisions interviewers probe.
- Production Judgment: Avoiding Fallback, Constant Work, Queue Backlogs, Metastable Failures & Rollback-Safe Deploys: The senior-level instincts from the Amazon Builders' Library and metastable-failure research: why rarely-run code paths betray you, how constant-work designs remove modes, how queues fall into insurmountable backlogs, why outages outlive their triggers, and how to make every deploy reversible.