~/talk

Refactoring DAGs: From duplication to delightful efficiency with a centralized library

Talkat Airflow Summit 2024 · 2024-09-10..09-12· [developer-experience]
name:Gil Reich
linkedin:gilreich
slides:none on file

Built a centralized DS dag framework for Airflow that replaces duplicated code across seven internal DAGs and three orchestrators, decouples config/sqls, and is reusable across projects. Key changes: reduced from 100+ files to ~25 in the project plus ~20–25 in the framework, single Orchestrator class driven by config (daily at 03:30, monthly and manual), and sensor on output_ready task to parallelize DAGs and deliver results earlier. Adds local sandboxing for safe testing and autogenerated, source-linked documentation; deployment reports faster development and far easier maintenance.

AI-written summary · about

  1. 0:00Introduction to site classification
  2. 0:28Identifying technical debt
  3. 2:15Refactoring and cleaning up
  4. 3:56Combining the orchestrators
  5. 5:06Creating a shared framework
  6. 7:32Implementing the new structure
  7. 9:35Managing ad-hoc runs
  8. 10:43Improving performance
  9. 12:00Secure local testing
  10. 13:27Auto-generating documentation
  11. 16:06Conclusion and reuse
~/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.