Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Celery - Distributed task queue system
Search
Mushfiq-E Mahabub
November 28, 2014
Programming
69
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Celery - Distributed task queue system
Mushfiq-E Mahabub
November 28, 2014
More Decks by Mushfiq-E Mahabub
See All by Mushfiq-E Mahabub
Kanban as a Software Development Process
mushfiq
0
170
Kick Start your freelance career.
mushfiq
0
110
Other Decks in Programming
See All in Programming
Building an Out-of-Order CPU
latte72
1
750
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
150
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
530
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
270
Laravelのアプリケーションをどこにデプロイするか #ツナギメオフライン.9
akase244
0
120
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
500
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
3
280
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
130
アクセシビリティから考える情報設計
high_g_engineer
0
350
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
150
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
330
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
300
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
450
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
930
Visualization
eitanlees
152
17k
Raft: Consensus for Rubyists
vanstee
141
7.7k
Become a Pro
speakerdeck
PRO
31
6.2k
Unsuck your backbone
ammeep
672
58k
Navigating Team Friction
lara
192
16k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
450
The SEO Collaboration Effect
kristinabergwall1
1
550
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
240
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Transcript
Celery Distributed task queue system 1
Outline ! • What ? • Why ? • When
? • Who? • How ? 2
What? “Celery is a simple, flexible and reliable distributed system
to process vast amounts of messages, while providing operations with the tools required to maintain such a system.” Official Celery Docs. ! “Asynchronous task management system” 3
What? • Tasks • Worker • Broker 4
Tasks • Tasks can be created by any callable •
do something (?) when a worker receives the message • do something (?) when it is called 5
Worker • message consumer • execute tasks 6
Broker • message storage • executes task • store the
result (optional) 7
Architecture 8
When? • For background processing • Distributed computing • Eg.
Bulk email sending • Eg. Content aggregation • Eg. Long running data processing jobs • Eg. Periodic task 9
Who uses? 10
Who else? 11
Hello World? 12
Real World? 13
Common Issues • How to lock? • How to have
results? • Pythonic Cron? • How to distribute? • How to execute dependent task? 14
How to lock? 15
How to save result? 16
Cron (Pythonic)? 17
Distribute • start workers in separate machine • use (same/a
new one) message queue 18
Dependent tasks 19
Demo? 20
Image Sources • http://thenewstack.io/wp-content/uploads/2014/06/ redis.png • https://shiori2309.files.wordpress.com/2014/06/ what-not-to-say-to-mixed-race-4.gif • http://3.bp.blogspot.com/-9pKvE5OCXeM/
UtTnAGXrylI/AAAAAAAAQ_0/MlXbQnQqpAk/ s1600/rabbit_header_logo.jpg 21