1 / 2 · Book 6 · Why Testing Before Deployment Is Not Enough · drill: interview Q&A⊞ allnext →Get the book →
1.2The Cost of Production Failures
Before we discuss the solution, let us understand the cost of the problem. When a production issue occurs that pre-production testing did not catch:
Direct costs:
- Revenue loss during the outage (for e-commerce, this can be thousands of dollars per minute)
- Engineering time to diagnose and fix the issue
- Customer support costs handling user complaints
- Potential SLA violation penalties
Indirect costs:
- User trust erosion (users who experience failures are less likely to return)
- Brand reputation damage (especially if the outage makes social media or news)
- Engineer morale impact (being woken at 3 AM to fix an issue that "should have been caught")
- Opportunity cost (engineers fixing incidents are not building features)
Compounding costs:
- Mean Time to Detection (MTTD): How long before anyone notices the problem?
- Mean Time to Resolution (MTTR): How long before the problem is fixed?
Without observability, MTTD can be hours -- you find out about the problem when a customer complains. With observability, MTTD can be seconds -- automated monitoring detects the anomaly immediately.