~/talk

Metrics - What's your code actually doing?

slides:none on file

Shows concrete instrumentation: use the metrics library (gauges counters histograms meters timers), ship language clients to statsd, store and graph in graphite; send meters as per-second for graphite’s hit_count, emit a restart gauge, and examine quantiles not just means. Claims that Amazon saw revenue drop with 100 ms slower pages and Google saw a 20% drop going 400→900 ms. Demonstrates building an aggregation pipeline that serves ~160000 metrics/min on two servers and explains how to find per-step bottlenecks.

AI-written summary · about

  1. 0:00Code instrumentation intro
  2. 3:46Why measure performance
  3. 5:33Proactive detection via metrics
  4. 7:21Logging pitfalls for metrics
  5. 8:46Metrics libraries overview
  6. 10:32Understanding histograms and their types
  7. 13:02Meters and timers
  8. 15:12StatsD aggregation
  9. 17:02Cross-host aggregation
  10. 18:29Graphite architecture
  11. 20:17Graphite naming rules
  12. 21:40Graphite queries & graphs
  13. 23:03Graphite aggregation
  14. 25:14Bottlenecks with timers
  15. 27:05Time per step calculation
  16. 28:32Graphite tips
  17. 29:54Choosing tools
  18. 30:38Practical applications of collected metrics
  19. 31:18Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.