~/talk

Understanding Request Latency with Wallclock Profiling

Talkat P99 CONF 2024 · 2024-10-23..10-24· [observability]
links:none on file
slides:none on file

Shows that wallclock profiling (not just CPU sampling) reveals off‑CPU causes like GC allocation stalls, locks and blocking I/O and can change the optimization target for P99 latency. Implements a Datadog Java profiler that combines async-profiler, JFR and JVMTI, snapshots every 60s, updates trace context in under 10 ns, and uses a reservoir sample budget biased to traced request threads to avoid millions of samples. Uses a thread timeline view to lay out critical paths; heap + CPU resizing cuts P99 latency drastically.

AI-written summary · about

  1. 0:00Introduction to profiling
  2. 0:56Identifying bottlenecks
  3. 2:15Limitations of flame graphs
  4. 3:18Wallclock profiling
  5. 5:33Thread timeline analysis
  6. 7:11Request-scoped diagnostics
  7. 10:02Resource impact on latency
  8. 11:58Profiling implementation
  9. 16:03Efficient sampling strategy
  10. 19:06Conclusion and wrap up
~/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.