~/talk

Practical Performance Analysis

Talkat Voxxed Days Zürich 2024 · on Thursday, 2024-03-07· [web-performance]
slides:none on file

Practical, stepwise performance recipe: set up one server, many loader clients and a probe, tune OS (open files, ephemeral ports, CPU governor) and JVM (use Java 21 and generational ZGC, enable async-safe profiling), then run steady-state and limit benchmarks while tracking CPU, network, disk, threads, GC and errors. Examples from Jetty 12 show 240,000 req/s with four 60k loaders, a 120k run stalled by a single busy sender thread (fix: use two sender threads), async-profiler flamegraphs expose hot exception allocations and an API change (return boolean instead of processor) that measurably speeds request handling.

AI-written summary · about

  1. 0:00Welcome and Jetty intro
  2. 2:09Performance analysis matters
  3. 6:04Steady state vs limit testing
  4. 9:39Load test environment setup
  5. 14:49OS and JVM tuning for testing
  6. 17:36Choosing load testing tools
  7. 20:51Performance baseline setup
  8. 22:58USE method analysis
  9. 26:09Profiling for tuning
  10. 28:37CPU bottleneck case study
  11. 31:47CPU Governor impact
  12. 34:16Flame graph analysis
  13. 35:18API design for performance
  14. 36:42Key takeaways and Q&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.