Testing and Monitoring Web Applications in the Wild
summary
Starts from an OBD2 dongle anecdote and applies the same idea to agfunder.com, where traffic spikes by orders of magnitude and uptime matters. Recommends monitoring as continuous testing: collect time-series metrics, structured logs with __name__ loggers and tracebacks via exc_info=True, set tuned alerting and escalation policies, run load tests against critical endpoints, and add distributed tracing for microservices. Prefers off‑the‑shelf SaaS for aggregation rather than building tooling from scratch.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 2:42Who am I?
- 3:49Summary
- 4:18Definitions
- 5:58Why this talk?
- 7:05Dev != Production
- 10:43Why monitor?
- 14:48What to Monitor?
- 16:32The Best Tool is ...
- 17:23Metrics
- 18:41Blackbox vs Whitebox methics
- 20:24Logging Considerations
- 22:41Effective Logging
- 24:36Python Logging Tips
- 27:48Alerting - Policies
- 30:26Alerting - Fixing
- 38:04Takeaways
- 39:57We can do better.
