Clearing Airflow obstructions
summary
BBC pipelines run Airflow on Cloud Composer and show concrete failures: using PythonOperator blocking executors for large S3/GCS ingests causes three‑hour executor stalls; delegating heavy work to Apache Beam/Dataflow yields predictable 20–25 minute runs but non-idempotent retries duplicated input, breaking training; KubernetesPodOperator default reattach causes concurrent pods that delete each other; a runaway Dataflow job in dev costs ~£12,000 over three days. Fixes: push processing out of executors, enforce idempotency, upgrade operator configs, deploy packages not plugins; recommendations service gains 59% engagement and serves millions daily.
AI-written summary · about
chapters (20)
- 0:00Start
- 1:42Airflow Community & Summit
- 2:56Quiz time how do you run Airflow?
- 4:55How we use Airflow when things go wrong
- 6:00How we use Airflow operators
- 6:51How we use Airflow local, dev, int, prod
- 7:20How we use Airflow application
- 10:22Quiz time which is our most stable DAG? Lips
- 11:51Quiz time which is our most stable DAG? answer
- 12:31The programme metadata chronic issue
- 15:39When the user activity workflow failed
- 19:34When precompute failed due to training
- 24:29Intermittent DAG after an Airflow upgrade
- 26:36Obstruction 5 When the Dataflow job said no
- 29:11The never ending Dataflow job
- 35:33Quiz time which was the most costly issue?
- 38:52Smell 2 Configuration (mis)patterns
- 41:07Takeaways Avolding live incidents
- 41:47Takeaways Keeping the house clean
- 42:05Much more than obstructions
