Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro to Airflow - From Zero to Hero
Search
Lee Wei
February 17, 2024
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intro to Airflow - From Zero to Hero
Lee Wei
February 17, 2024
More Decks by Lee Wei
See All by Lee Wei
Asset Partitions: Matching Workflow to the Right Data
leew
0
6
YourAl Is Only As Good As Your Data Pipeline
leew
0
27
觸發觸發器器,那個你可能不熟的 Apache Airflow 元件
leew
0
88
20251127 開源菜雞的隨意雜談
leew
0
53
住手啊,這樣用 Python 寫程式沒有人會獲得幸福的
leew
0
100
Unlocking the Future of Data Pipeline
leew
0
280
Hold on! You have a data team in PyCon Taiwan!
leew
0
64
朝聖之路
leew
0
140
20250328 Airflow 3.0 The First Glance
leew
0
430
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
0
430
The Cult of Friendly URLs
andyhume
79
7k
Un-Boring Meetings
codingconduct
0
390
Design in an AI World
tapps
1
280
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
370
The SEO identity crisis: Don't let AI make you average
varn
0
530
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
410
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
500
[SF Ruby Conf 2025] Rails X
palkan
2
1.3k
Building Adaptive Systems
keathley
44
3.2k
Transcript
Intro to Airflow From Zero to Hero
❗Disclaimer❗
As this is an Airflow sharing, ...
None
$ cat weilee.py __name__ = 李唯 / Wei Lee __what_i_am_doing__
= [ Software Engineer @ Astronomer, Volunteers @ PyCon Taiwan, Maintainer of commitizen-tools, ] __github__ = G Lee-W __linkedin__ = l clleew __site__ = p http://wei-lee.me
File "weilee.py", line 1 __name__ = 李唯 / Wei Lee
^^^ SyntaxError: invalid syntax $ python weilee.py
Let's start with FAQ
Question 1 Are you an airflow committer?
No
Question 2 Are folks in your team all committers?
Well...You tell me. At least I'm not.
Question 3 You must have made significant contributions to Airflow
before joining Astronomer, right?
This is the sole PR I made before joining.
Question 4 Does Astronomer have enough votes to push/block whatever
feature?
The truth is I don't know. From what I heard,
we could, but we don't do it this way
What is Airflow Apache Airflow™ is an open-source platform for
developing, scheduling, and monitoring batch-oriented workflows. - from the Official Site
What Airflow is not? ❌ • The best framework to
run event-based workflows infinitely. • The best streaming solution.
Why Airflow • dynamic • scalable • interactive through UI,
CLI, REST API • extensible
Why Airflow A large user base
Why Airflow Active Development
Why Airflow Integrations with 3-party projects "JSCZUF "MJCBCB "NB[PO "QQSJTF
"TBOB "SBOHP%# "QBDIF4QBSL "QBDIF1JOPU "QBDIF1JH "QBDIF-JWZ "QBDIF,ZMJO "QBDIF,BGLB "QBDIF)JWF "QBDIF)%'4 "QBDIF'MJOL "QBDIF%SVJE "QBDIF%SJMM "QBDIF$BTTBOESB "QBDIF#FBN %PDLFS %JTDPSE %JOHEJOH ECU %BUBEPH %BUBCSJDLT $PNNPO42- $PIFSF ,VCFSOFUFT $FMFSZ +JSB *#.$MPVEBOU )551 )BTIJDPSQ H31$ (PPHMF 'BDFCPPL '51 'BDFCPPL &YBTPM &MBTUJDTFBSDI 0QFO-JOFBHF 0QFO"* 0QFO'BB4 0%#$ /FPK .Z42- .POHP%# 8JO3. .442- 1431 .JDSPTPGU1PXFS4IFMM .JDSPTPGU"[VSF +FOLJOT +%#$ *."1 *OGMVY%# 1BQFSNJMM 1BHFSEVUZ 0SBDMF 0QTHFOJF 0QFO4FBSDI 4FHNFOU 4BNCB 4BMFTGPSDF 3FEJT 1SFTUP 1PTUHSF42- 1JOFDPOF 1H7FDUPS 5BCMFBV 5BCVMBS 44) 42-JUF 4OPXGMBLF 4.51 4MBDL 4JOHVMBSJUZ 4'51 4FOEHSJE 7FSUJDB 5SJOP 5FMFHSBN ;FOEFTL :BOEFY 8FBWJBUF
Why Airflow?
Why Airflow
How does Airflow work?
How does Airflow work? DAG Example
None
How Airflow works?
How does Airflow work? Trigger a DAG
How does Airflow work?
How does Airflow work? WebUI
How does Airflow work? XCom
How does Airflow work? Components Web Server Metadata Database Scheduler
Triggerer Worker DAG Processor
How does Airflow work? DAG authors change DAGs code Web
Server Metadata Database Scheduler Triggerer Worker DAG Processor
How does Airflow work? Users trigger DAGs from WebUI Web
Server Metadata Database Scheduler Triggerer Worker DAG Processor
How does Airflow work? Users trigger DAGs from WebUI Web
Server Metadata Database Scheduler Triggerer Worker DAG Processor
How does Airflow work? Users trigger DAGs from WebUI Web
Server Metadata Database Scheduler Triggerer Worker DAG Processor
How does Airflow work? Users trigger DAGs from WebUI Web
Server Metadata Database Scheduler Triggerer Worker DAG Processor
How does Airflow work? Deferrable Operators Traditional Deferrable Ref: https://docs.astronomer.io/learn/deferrable-operators
How does Airflow work? Deferrable Operators
How does Airflow work? Deferrable Operators Web Server Metadata Database
Scheduler Triggerer Worker DAG Processor
How does Airflow work? Deferrable Operators Web Server Metadata Database
Scheduler Triggerer Worker DAG Processor
How does Airflow work? Deferrable Operators Web Server Metadata Database
Scheduler Triggerer Worker DAG Processor
How does Airflow work? Deferrable Operators Web Server Metadata Database
Scheduler Triggerer Worker DAG Processor
How does Airflow work? Deferrable Operators Web Server Metadata Database
Scheduler Triggerer Worker DAG Processor
Dataset Data-aware scheduling
Dataset Data-aware scheduling
Dataset Data-aware scheduling
None
Dataset Data-aware scheduling
Dataset Data-aware scheduling
Dataset Data-aware scheduling
Dataset Data-aware scheduling
Dataset Data-aware scheduling
None
Taskflow a cleaner way to write DAG
Upcoming things
Hybrid Execution
DAG Versioning (?)
Astronomer products
Deprecating
Deprecating (?)
Ask-Astro
Ask-Astro Slack bot in Airflow slack
astronomer-cosmos
astro-cli
astro-cli $ astro dev start
Astronomer Click "Get Started Free"!
Upcoming evens
Airflow Taipei Meetup March 9th @ Dcard
Remember I mentioned I'm a ...
Maintainer of commitizen-tools
Volunteer of PyCon Taiwan
BTW we also use Airflow
Guess who taught us Airflow
Link to this slide
None