~/talk

Kafka Streams, profiling, framegraphs, Oh My!

Talkat DataXDay 2019 · on Thursday, 2019-06-27· [data-engineering]
links:none on file
slides:none on file

Shows how async-profiler plus flame graphs and Java Flight Recorder expose where a Kafka Streams app actually spends time — e.g., 15–20% in GC, ~10–20% in RocksDB compaction, heavy SSL entropy cost in writes — and how profiling reveals hidden library costs. Replaces inefficient cache flush code and increases cache size, cutting cache flush cost from 23% to 5%. Reuses buffers in fetch/serde paths to get a 30x speedup for small-message clients. Covers attaching profilers in Docker and GKE constraints.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35Why profile your application
  3. 4:17Other tools
  4. 5:03Flame Graph
  5. 9:14Understanding the code
  6. 12:14Recap
  7. 14:32Lock contention
  8. 15:49Timing bugs
  9. 16:26Allocation profiling
  10. 17:32Improved performance
  11. 18:55Kubernetes Engine
  12. 19:52Conclusion
~/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.