The Newcomer's Guide to Airflow's Architecture
summary
Explains that a DAG file is a template while a DAG run is an instance tied to execution time, and clarifies operator → task → task instance as distinct runtime objects; reveals the surprising implementation detail that the executor runs inside the scheduler by default. Compares Celery (long-lived workers, low latency) versus Kubernetes (one-pod-per-task, stronger isolation, higher startup latency), notes heavy reliance on a single Postgres metadata DB, reports work on deferred operators/AIP-40 for async triggers, and argues HA of scheduler/web in Airflow 2.0.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 1:17Outline
- 2:42My Experience
- 5:08Organic Growth
- 6:42Dags
- 9:59Scheduler
- 11:15Architecture
- 14:16Executive Runs
- 14:51Metadata
- 16:00Availability
- 16:49Scheduling
- 17:51Executor
- 18:40Celery
- 19:12Kubernetes
- 22:25Task Oriented
- 23:08Weaknesses
- 23:32Whats next
- 23:46Future Architecture
- 24:12Blue Box
- 24:29Database
- 25:03Central Database
- 25:29Software Engineering is not just coding
- 25:59A big part of Airflow is
- 26:45What can you do to help
