Teaching an old DAG new tricks
summary
Scribd migrates a 1,500+ task pipeline (one DAG with 1,200 interdependent tasks) into AWS Airflow using ECS for web/scheduler, EKS for Kubernetes executors, RDS, ECR and S3, and Terraform for provisioning. Built a lightweight dagsync Go daemon to sync DAGs from S3, a Terraform Airflow provider for variables, and backported fixes for a 40‑minute EKS auth token bug. Web UI rendering is optimized — reduced page size 10x and page load 5x faster — and the incremental HDFS→S3 sync plus Databricks on Spark 3 is working in production.
AI-written summary · about
chapters (14)
- 0:00Intro
- 1:51Cloud native Airflow
- 8:08ECS and EKS?!
- 10:17Out of cluster Kubernetes executor support for EKS
- 13:01DAG sync daemon
- 15:19Manage Variables with Terraform
- 16:44Airflow Terraform Provider
- 19:03Monitor Airflow with Datadog
- 22:05A decade old data pipeline
- 23:30A brave new world
- 25:00Simulate production run early
- 26:32How to render a 1500+ tasks DAG in Airflow
- 29:21To the cloud, with incremental deliverables
- 33:40Closing
