/ faang-playbook / 04-SYSTEM-DESIGN-LIBRARY / 02-Design-Patterns-and-Failure-Handling.md
swadhinbiswas feat: add Netflix L5 interview playbook · 2/2/2026
41c1cbb
28 lines · 635 Bytes
Raw Download

Design Patterns & Failure Handling

Most system design interviews are evaluating your handling of partial failure.

Core patterns

  • Caching (read-through, write-through, write-back)
  • Queues and async workers
  • Idempotency keys
  • Rate limiting
  • Circuit breakers and bulkheads
  • Backpressure

Failure handling checklist

  • Timeouts set everywhere (and sane)
  • Retries capped + backoff + jitter
  • Fallbacks for degraded dependencies
  • Dead-letter queues for async
  • Rollback plan

Observability checklist

  • SLIs: latency, errors, saturation
  • dashboards show p95/p99
  • alerts are actionable
  • tracing for dependency chains