Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Orchestration Still Matters: Apache Airflow in ...

Avatar for Lee Wei Lee Wei
September 19, 2026

Orchestration Still Matters: Apache Airflow in the Age of AI

Software Freedom Day · Bukidnon 2026

Avatar for Lee Wei

Lee Wei

September 19, 2026

More Decks by Lee Wei

Other Decks in Programming

Transcript

  1. Orchestration Still Matters: Apache Airflow in the Age of AI

    Software Freedom Day · Bukidnon 2026 Wei Lee wei-lee.me
  2. 01 / 06 Rewind Where this thing came from. REWIND

    MADE IN HEAVEN WHY IT MATTERS AI FUTURE OPEN SOURCE 07 / 114
  3. Let's go back a bit. / ・ ・ Homura Akemi

    · ©Magica Quartet Aniplex Madoka Partners MBS 08 / 114
  4. cron says when. Airflow says when, and in what order,

    and what to do when it breaks. 23 / 114
  5. Not "run this at 3am". Run these, in this order,

    and cope when one fails. 26 / 114
  6. 02 / 06 Made in Heaven Eleven years, at speed.

    REWIND MADE IN HEAVEN WHY IT MATTERS AI FUTURE OPEN SOURCE 31 / 114
  7. Not a graph theory lecture. A Dag is just a

    workflow in Airflow. 36 / 114
  8. 03 / 06 Why It Still Matters Three words. They

    are the whole argument. REWIND MADE IN HEAVEN WHY IT MATTERS AI FUTURE OPEN SOURCE 37 / 114
  9. In 2024, a chatbot got it wrong. It promised a

    refund the airline's own policy did not offer. 40 / 114
  10. And the airline paid. A tribunal held the airline responsible

    for its chatbot. Moffatt v. Air Canada · 2024 BCCRT 149 · BC Civil Resolution Tribunal, 14 Feb 2024 · damages, interest and 41 / 114 fees awarded
  11. Every pipeline must be... 01 02 03 Reliable Observable Retryable

    It runs. Every time. Even You can see what is Failures are normal. You when things break happening. What failed. can pick up where it upstream. And why. broke. 42 / 114
  12. Got paged at 3 a.m. for a network error. "This

    Is Fine" · © KC Green, Gunshow #648 (2013) 50 / 114
  13. Retry the step. Not the pipeline. Step 7 of 9

    failed. Run step 7. 52 / 114
  14. 04 / 06 Let's talk about AI Where the model

    actually goes. REWIND MADE IN HEAVEN WHY IT MATTERS AI FUTURE OPEN SOURCE 53 / 114
  15. It's a fancy word for data. System prompt ──▶ a

    string you wrote Conversation ──▶ rows you stored Tool output ──▶ an API response Retrieved chunks ──▶ a database query All of it is data. All of it has to arrive. 55 / 114
  16. Look at what those steps are. fetch docs ──▶ an

    external service chunk ──▶ data processing embed ──▶ a model index ──▶ an external service retrieve ──▶ an external service ask model ──▶ a model 58 / 114
  17. Volker Janz orchestrated Airflow through Minecraft. Volker Janz · "The

    Rise of Abstraction in Dag Authoring: From YAML to Minecraft" 60 / 114
  18. And that is why it still fits. Powerful 10 years

    ago. Still powerful now. 61 / 114
  19. Yes, there is one for that. / ・ ・ Fate/Zero

    · ©Nitroplus TYPE-MOON ufotable FZPC 65 / 114
  20. This is the whole thing. @task.llm( llm_conn_id="ollama_local", system_prompt="Reply in one

    sentence.", ) def draft_reply(ticket: str): return f"Draft a reply to: {ticket}" 72 / 114
  21. A Spark task ran out of memory. A number cannot

    read a stack trace. It re-ran with 16g instead of 11g. 75 / 114
  22. 05 / 06 What's coming Two things, honestly labelled. REWIND

    MADE IN HEAVEN WHY IT MATTERS AI FUTURE OPEN SOURCE 78 / 114
  23. AIP-113 · Dynamic Task Groups @task_group( catalog=[refund, escalate, enrich], planner=decide_shape,

    max_selected=3, ) def respond(): ... Draft · targeting 3.5.0 83 / 114
  24. 06 / 06 Open Source, Open Governance Who decides what

    Airflow becomes. REWIND MADE IN HEAVEN WHY IT MATTERS AI FUTURE OPEN SOURCE 86 / 114
  25. When anyone can generate code, being able to read it

    is the only guarantee left. 97 / 114
  26. A Dag doesn't need to be all Python. Since Airflow

    3.3, a worker can run task code written in another language. 103 / 114
  27. Go · Java · TypeScript …and more to come. ©

    Lucasfilm Ltd. / The Walt Disney Company 104 / 114
  28. And a small Airflow meetup inside it. With friends from

    the Apache Airflow Korea User Group. 112 / 114