~/talk

Too Big for DAG Factories?

Talkat Python Web Conf 2023 · 2023-03-13..03-17· [data-engineering]
slides:none on file

Claims Airflow can handle thousands of DAGs if import-time bottlenecks are removed and DAGs are prebuilt. Uses Apache Airflow with Docker Compose, Postgres metadata DB, Redis/Celery or Kubernetes executors, JSON config files, Azure App Configuration and Terraform/Jinja for infra; dynamic DAG factory hits a 30 second dagbag import timeout and slows with API calls or heavy imports. Solution is to generate one file per DAG (static files), precompile .pyc, build into the container and CI/CD deploy — proven on 10,000 DAGs (≈17–18 minutes to load on a laptop) and works.

AI-written summary · about

  1. 0:00Introduction to Airflow
  2. 4:04Airflow architecture
  3. 7:32The dynamic DAG challenge
  4. 9:15Implementation and demo
  5. 15:26Scaling and timeout issues
  6. 21:36Static generation solution
  7. 27:08Optimization and conclusions
~/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.