Setting Yourself Up For Failures: Resiliency and Sad Path UX
summary
Video platform engineering notes on concrete failures and fixes: built a simple diagnostic page and a try-again cycles CDN URLs button that fixes bad video URLs; prefer fail‑open for subscription API outages so users can watch (logged and tagged for later reconciliation); use window.onerror and process.on('unhandledRejection') / uncaughtException to capture stacks; wrap remote calls with circuit breakers (example threshold five failures in 30s, half‑open after 3000ms), fallbacks to cache or DB, and queue analytics for retry with instrumentation.
AI-written summary · about
chapters (16)
- 0:00Introduction and speaker intro
- 0:45Why systems still fail in production
- 2:10Goal and importance of sad path UX
- 3:57Key components of resiliency
- 4:25Effective error messages and user context
- 6:56Fault tolerance and isolation
- 7:17Avoiding single points of failure
- 9:24Defensive programming practices
- 11:54Fallback strategies for CSS and browsers
- 12:57Handling missing data in microservices
- 14:42Degrading user experience gracefully
- 16:10Silent failures and retry mechanisms
- 16:51Circuit breakers explained
- 20:19Implementing circuit breakers
- 22:29Resiliency impact and final thoughts
- 23:34Sad path first development approach
