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
Starts Airflow task execution directly from the...
Search
Lee Wei
May 08, 2024
Technology
0
160
Starts Airflow task execution directly from the triggerer
Lee Wei
May 08, 2024
Tweet
Share
More Decks by Lee Wei
See All by Lee Wei
觸發觸發器器,那個你可能不熟的 Apache Airflow 元件
leew
0
67
20251127 開源菜雞的隨意雜談
leew
0
25
住手啊,這樣用 Python 寫程式沒有人會獲得幸福的
leew
0
80
Unlocking the Future of Data Pipeline
leew
0
260
Hold on! You have a data team in PyCon Taiwan!
leew
0
42
朝聖之路
leew
0
110
20250328 Airflow 3.0 The First Glance
leew
0
330
踏入開源的第一步
leew
0
250
Unleash the Chaos - Developing a Linter for Un-Pythonic Code!
leew
0
130
Other Decks in Technology
See All in Technology
トップマネジメントとコンピテンシーから考えるエンジニアリングマネジメント
zigorou
3
520
製造業ドメインにおける LLMプロダクト構築: 複雑な文脈へのアプローチ
caddi_eng
0
390
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
1.6k
チームメンバー迷わないIaC設計
hayama17
5
3.7k
組織のSREを推進するためのPlatform EngineeringとEKS / Platform Engineering and EKS to drive SRE in your organization
chmikata
0
180
Kaggleの経験が実務にどう活きているか / kaggle_findy
sansan_randd
4
590
三菱UFJ銀行におけるエンタープライズAI駆動開発のリアル / Enterprise AI_Driven Development at MUFG Bank: The Real Story
muit
11
21k
大規模な組織におけるAI Agent活用の促進と課題
lycorptech_jp
PRO
6
7.7k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
44k
型を書かないRuby開発への挑戦
riseshia
0
170
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
3
820
【SLO】"多様な期待値" と向き合ってみた
z63d
2
300
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
170
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Unsuck your backbone
ammeep
672
58k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
AI: The stuff that nobody shows you
jnunemaker
PRO
3
350
Designing Experiences People Love
moore
143
24k
Prompt Engineering for Job Search
mfonobong
0
180
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
140
Transcript
Starts Air fl ow task execution directly from the triggerer
$ cat weilee.py __name__ = 李唯 / Wei Lee __what_i_am_doing__
= [ Software Engineer @ Astronomer, Committer @ Apache Airflow, 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
None
How did deferrable operators work before this change?
What has been changed?
What has been changed?
What it could be in the future
But why?
"execute" methods are not always needed This is the only
logic when deferrable is set to true and does not need to be executed in the worker.
How does it affect DAG authors? More ef fi cient
operators to come
How does it affect operator authors? A new way to
implement operators in an async manner
The Original Way
The New Way
How does it work under the hook?
How does it work under the hook?
How does it work under the hook?
Limitations • It is necessary to go back to workers
to run the next_method (e.g., "execute_complete") • This feature does not yet fully support MappedOperator.