~/talk

Modernize a decade old pipeline with Airflow 2.0

Talkat Airflow Summit 2021 · 2021-07-08..07-16· [data-engineering]
name:QP Hou
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Scribd migrates a 1,400-task DAG to Databricks on AWS and Airflow 2.0, and shows the concrete code and operations that make it safe: a custom trigger-rule change that overrides get_state count_upstream_tis to treat migration tasks as harmless, plus a later fix to let upstream-failed propagate; a patched serialization layer so custom trigger rules survive DAG JSON serialization; a nonrollback MySQL 5.6→5.7 DB snapshot/restore to enable Airflow 2 scheduler features; an ECS-spawned backfill container UI that avoids scheduler load; tuned concurrency and availability-zone spot-price switching for 10–20% cost savings.

AI-written summary · about

  1. 0:00Introduction to migration
  2. 1:11Legacy pipeline context
  3. 2:13Gradual migration strategy
  4. 3:37Custom trigger rules fix
  5. 5:02Preventing long-running tasks
  6. 6:48Handling data sync failures
  7. 8:35Airflow 2.0 upgrade process
  8. 10:44MySQL 5.7 compatibility issues
  9. 12:33Scheduler limitations in MySQL
  10. 13:15Custom trigger rules serialization
  11. 14:39Performance improvements in 2.0
  12. 16:49Running large backfills at scale
  13. 19:41Optimizing concurrency limits
  14. 20:02Self-service backfill UI plugin
  15. 21:48Backfill UI plugin architecture
  16. 24:58Bugs in backfill functionality
  17. 27:04Databricks cost optimization
~/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.