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
Dagster & Geomagical
Search
Noah Kantrowitz
February 09, 2021
Programming
0
130
Dagster & Geomagical
Noah Kantrowitz
February 09, 2021
Tweet
Share
More Decks by Noah Kantrowitz
See All by Noah Kantrowitz
What Python Can Learn From Other Languages
coderanger
0
19
What Python Can Learn From Other Languages (with notes)
coderanger
0
92
Swiss Army Django: Small Footprint ETL (with notes) - DjangoCon US
coderanger
0
150
Swiss Army Django: Small Footprint ETL - DjangoCon US
coderanger
0
38
How to look at space: PyCon AU
coderanger
0
76
Swiss Army Django: Small Footprint ETL
coderanger
0
57
Swiss Army Django: Small Footprint ETL (with notes)
coderanger
0
61
Minimum Viable Kubernetes
coderanger
0
22
Minimum Viable Kubernetes (with notes)
coderanger
0
340
Other Decks in Programming
See All in Programming
Scala におけるコンパイラエラーとの付き合い方
chencmd
2
420
はじめてみよう量子プログラミング
itokoichi01
0
170
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
170
Understand the mechanism! Let's do screenshots tests of Compose Previews with various variations / 仕組みから理解する!Composeプレビューを様々なバリエーションでスクリーンショットテストしよう
sumio
3
620
What is Parser
yui_knk
9
4.1k
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
390
全部見せます! クラシルリワードのSwiftTesting移行プロジェクト
uetyo
0
210
開発を加速する共有Swift Package実践
elmetal
PRO
0
410
Patched fetch did not work
quramy
3
160
XStateでReactに秩序を与えたい
gizm000
0
730
Google Sign-inの移行から始めるCredential Manager活用
clockvoid
0
220
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
380
Featured
See All Featured
Ruby is Unlike a Banana
tanoku
96
11k
Become a Pro
speakerdeck
PRO
22
4.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
230
130k
From Idea to $5000 a Month in 5 Months
shpigford
379
46k
Designing the Hi-DPI Web
ddemaree
278
34k
Building an army of robots
kneath
302
42k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
326
21k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
Practical Orchestrator
shlominoach
185
10k
KATA
mclloyd
27
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.6k
Designing on Purpose - Digital PM Summit 2013
jponch
114
6.8k
Transcript
Geomagical & Dagster Dagster Community Meeting
Noah Kantrowitz > @kantrn - coderanger.net > Principal Ops @
Geomagical > Part of the IKEA family > Augmented reality with furniture
Our Product
Starting Point > Celery & RabbitMQ > Each operation as
its own daemon > celery.canvas > Custom DAG compiler
Design Goals > Keeping most of the solid structure >
Improved DAG expressiveness > Low fixed overhead, compatible with autoscaling > More detailed tracking and metrics
Dagster > Met all our requirements for structural simplicity >
DAG compiler was a bit limited but growing fast > Highly responsive team Dagster > No execution setup that met our needs
But dagster_celery? > Solid and pipeline code commingled > Single
runtime environment > Hard to build a workflow around at scale
But dagster_k8s? > Fine for infrequent or non-customer facing tasks
> Do not put kube-apiserver in your hot path > No really, I mean it
None
Autoscaling > KEDA watching RabbitMQ > Zero-scale: only Dagit and
gRPC daemons > task_acks_late = True > worker_prefetch_multiplier = 1
Remote Solids > Independent release cycles for each Solid >
Can run multiple versions in parallel > Testing in isolation
Writing A Remote Solid app = SolidCelery('repo-something') @app.task(bind=True) def something(self,
foo: str) -> str: return f'Hello {foo}'
Proxy Solids @celery_solid(queue='repo-something') def something(context, item): output = yield {
'foo': item['bar'], } item['something'] = output yield Output(item)
Workflow > One git repo per Dagster repo > main.py
which holds "default" Pipeline > solids.py which defines proxy Solids > Misc other pipelines for testing and development
CI/CD Briefly, since this is its own rabbit hole >
Buildkite > kustomize edit set image > ArgoCD
Downsides > Slow cold start > No feedback during long
tasks > New and exciting bugs
How It's Going > Happy with overall progress > Still
dropping some tasks at load > Plan to move forward looks good
Future Plans > Async execution support > Events from solid
workers > Pipeline-level webhooks > Predictive auto-scaling? K8s Operator?
Can I Use This? Kinda sorta geomagical/dagster_geomagical
Thank You Questions?