~/talk

Garbage collector tuning: x2 performance gains in a high-load service

TalkinRussianat PyCon Russia 2024 · 2024-07-26..07-27· [python, web-performance]
links:none on file
slides:none on file

An Okko senior Python engineer explains diagnosing performance bottlenecks in a high-load recommendation backend and finding that Python's garbage collector was a critical problem. The talk presents measurements of how different gc settings affected response latency and shows that tuning GC reduced 99th-percentile response time by about twofold, plus guidelines on when and why to change default GC settings.

AI-written summary · about

  1. 0:00Introduction
  2. 3:13Performance issues
  3. 11:10Root cause analysis
  4. 15:29GC theory
  5. 20:28Debugging with GC logs
  6. 24:33Frequent GC runs
  7. 29:30Tuning GC thresholds
  8. 33:28Results and gains
  9. 36:18Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.