~/talk

Optimizing Airflow Performance: Strategies, Techniques, and Best Practices

Talkat Airflow Summit 2024 · 2024-09-10..09-12· [devops-and-delivery, databases]
links:none on file
links:none on file
slides:none on file

Shows concrete fixes: moving an expensive top‑level API call into the task_flow API cuts DAG parsing from ~7s to ~2s, and deferring heavy imports (pandas/torch) trims parsing time by ~40%. Finds and removes unused indexes using pg_stat_statements and a size/scan query, freeing ~5GB from one index and preventing scheduler failures. Speaks about adding missing foreign‑key indexes to drop a year’s delete time from ~6 hours to 36s. Recommends pg_repack, VACUUM FULL and REINDEX for bloat and ongoing monitoring with pg_exporter.

AI-written summary · about

  1. 0:00Introduction
  2. 0:46DAG authoring best practices
  3. 2:09Optimizing DAG performance
  4. 5:45Database performance basics
  5. 7:05Managing unused indexes
  6. 9:01Automating index analysis
  7. 12:20Identifying missing indexes
  8. 13:37Slow query analysis
  9. 14:39Adding necessary indexes
  10. 15:24Understanding database bloat
  11. 18:11Mitigating database bloat
  12. 21:10Caveats and conclusions
~/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.