The Data Flowcast: Mastering Apache Airflow ® for Data Engineering and AI · Astronomer
Strict sequential execution across DAGs sounds simple until you have scheduled pipelines and event-driven pipelines writing to the same MongoDB collections. Ivana Isailovic, Senior Big Data Engineer at Synechron, joins Marc Lamberti to walk through the three-layer DAG architecture her team built to solve exactly that, plus how they generate 200-task DAGs and how they rebuilt subdag-style group retries in Airflow 3. Key Takeaways: (00:00) Introduction. (02:16) The stack: Snowflake source, MongoDB with a medallion (bronze, silver, gold) layout, Spark for processing, Airflow for orchestration, Elasticsearch for reports. (05:29) Why standard Airflow options (max active runs, pools, dependency setups) each solved only part of the problem. (06:40) Data consistency across bronze, silver, and gold layers is what forced strict sequential execution. (09:11) Scheduled DAGs versus event-driven DAGs triggered at any moment from the application side. (10:04) The three-layer architecture: trigger DAGs, a single proxy DAG that controls the queue, and main ETL DAGs. (12:00) The queue is literally another DAG. The proxy DAG allows only one active run and serializes everything behind it. (15:13) 200-task DAGs generated from nested task groups and YAML configuration files, with DAG versions tied to release numbers. (17:38) How the layers talk to each other: sensors and TriggerDagRunOperator. (19:44) Migrating from subdags to task groups without losing the ability to retry a whole group. (21:49) Airflow 2.9 approach: reset task instance state via the metadata DB, keyed off the task group identifier. (23:13) Airflow 3 approach: move the retry logic onto the official REST API for stability, security, and maintainability. Resources Mentioned: Orchestrate Everything Apache Airflow Snowflake MongoDB Apache Spark Elasticsearch Thanks for listening to "The Data Flowcast: Mastering Apache Airflow® for Data Engineering and AI." If you enjoyed this episode, please leave a 5-star review to help get the word out about the show. And be sure to subscribe so you never miss any of the insightful conversations. #AI #Automation #Airflow
0:00SPEAKER_01You're listening to the Data Flowcast, the podcast about Apache Airflow and the world of data and AI around it.
0:07SPEAKER_01We are excited to invite you to orchestrate everything.
0:11SPEAKER_01Our free online conference on September 60th.
0:15SPEAKER_01Engineering leaders from Lyft, Ram, and Wix will share how they are shipping production AI workflows on Airflow.
0:22SPEAKER_01Plus a crash course for the new Astronomer Certified AI Orchestration Fundamentals exam.
0:28SPEAKER_01Attendees get a discount code for a free certification.
0:32SPEAKER_01A$150 value.
0:34SPEAKER_01Go to astronomer.link slash data minus flowcast minus OE.
0:39SPEAKER_01Link in the show notes.
0:41SPEAKER_01Now let's get into the show.
0:43SPEAKER_02Hello everyone.
0:44SPEAKER_02Welcome, welcome to the Data Flowcast.
0:47SPEAKER_02I'm your host, Mark Lomerti, and today I'm super excited to be joined by Ivana Izajovich, big data engineer at Cinecron.
0:55SPEAKER_02First thing first, how are you doing today?
0:58SPEAKER_00Hi Mark, thank you so much for having me.
More The Data Flowcast: Mastering Apache Airflow ® for Data Engineering and AI episodes →