StatsG at New York Times
summary
Describes building a self-serve, real-time metrics stack for newsroom projects that uses statsd over UDP, a small Go daemon to collect JSON, and Redis with Lua percentiles to keep time-windowed data that expires automatically. Teams spin up dashboards to 10-second resolution; the Olympics dashboard scales to ~10x baseline traffic with little ops involvement. Works well for rapid, idiosyncratic apps but hits packet-loss with UDP and horizontal-scaling pain with Redis; moving toward subscribing streams with StreamTools.
AI-written summary · about
chapters (13)
- 0:00Introduction and background
- 1:07Interactive News department projects
- 3:54Infrastructure growth in newsroom
- 7:01Urgency and challenges in media ops
- 8:46Empathy-driven devops approach
- 11:54Self-serve metrics and zero-config systems
- 12:58Big board problem and statsd
- 15:25Oversolving the metrics problem
- 17:30Redis and Lua for real-time stats
- 20:41UDP challenges and rolling your own
- 21:43Lessons from custom solutions
- 22:25Future with stream tools
- 23:27Q&A
