~/talk

Deep dive in to the Airflow scheduler

Talkat Airflow Summit 2021 · 2021-07-08..07-16· [developer-experience]
links:none on file
slides:none on file

Scheduler is reworked for HA by operating on the serialized DAG table so parser and scheduler decouple, and schedulers coordinate only via the metadata DB using row locks and SELECT ... FOR UPDATE SKIP LOCKED. It splits work between scheduler job, executor, and DAG file processor (short‑lived parser subprocesses). DAG runs are first created in queued state (2.1.3 change), executors keep state in memory, pool limits are enforced inside a short critical section (2–100 ms), and workers run a mini‑scheduler for fast follow.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:52Scheduler core responsibilities
  3. 13:30Task state machine flow
  4. 19:51Executor and task execution
  5. 27:55DAG parsing process
  6. 34:27High availability design
  7. 40:24Task adoption and zombie detection
  8. 42:49Optimizations and closing
~/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.