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
An Introduction to Celery
Search
Gilang Chandrasa
January 26, 2012
Programming
8
5.1k
An Introduction to Celery
Python Meetup @Detik
Gilang Chandrasa
January 26, 2012
Tweet
Share
More Decks by Gilang Chandrasa
See All by Gilang Chandrasa
Docker + Django
gchandrasa
2
330
Haystack + ElasticSearch
gchandrasa
2
2.4k
Other Decks in Programming
See All in Programming
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
210
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
390
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
190
CSC509 Lecture 02
javiergs
PRO
0
410
uniqueパッケージの内部実装を支えるweak pointerの話
magavel
0
940
Cursorハンズオン実践!
eltociear
1
480
CSC305 Lecture 02
javiergs
PRO
1
260
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
220
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
230
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
390
Serena MCPのすすめ
wadakatu
4
940
CSC305 Lecture 04
javiergs
PRO
0
260
Featured
See All Featured
Building an army of robots
kneath
306
46k
RailsConf 2023
tenderlove
30
1.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
How to Ace a Technical Interview
jacobian
280
24k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Visualization
eitanlees
148
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Embracing the Ebb and Flow
colly
88
4.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
Transcript
An Introduction to Celery
WHAT IS CELERY? Celery is an asynchronous task queue/job queue
WORKING WITH CELERY MEANS : NON BLOCKING · SCALE ·
SPEED
USE CASES IMAGE PROCESSING SENDING 1K EMAILS INTERACTIONS WITH EXTERNAL
API PERIODIC TASKS (instead of cron)
HOW DOES IT WORK?
USER REQUEST APPLICATION TASKS MESSAGE QUEUE CELERY WORKERS STORE RESULTS
WHAT DO I NEED?
CELERY Django (django-celery) Pylons (celery-pylons) Flask (Flask-Celery) Python
MESSAGE QUEUE RABBITMQ REDIS BEANSTALK MONGODB COUCHDB
CELERY (pip install celery) RABBITMQ (http://www.rabbitmq.com/download.html) EXAMPLE from celery.task import
task @task def add(x, y): return x + y
WHAT'S NEXT? celeryproject.org IRC #celery mailing list celery-users
THANK YOU @gchandrasa github.com/gchandrasa