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
5.2k
8
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
An Introduction to Celery
Python Meetup @Detik
Gilang Chandrasa
January 26, 2012
More Decks by Gilang Chandrasa
See All by Gilang Chandrasa
Docker + Django
gchandrasa
2
350
Haystack + ElasticSearch
gchandrasa
1
2.5k
Other Decks in Programming
See All in Programming
AIを紡ぐPMのお話
swdtkuy
0
120
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
250
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
3
1.1k
ソフトウェアラスタライザ
fadis
1
250
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
1.8k
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
220
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.4k
引き算の組織 ― アウトカムとAIに全振りするために辞めたこと ― / Organization by Subtraction
hirokiyamamoto14
PRO
0
270
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
240
FDEが実現するAI駆動経営の現在地
gonta
2
290
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
230
30年振りにコンパイラの定数整数除算を改善した
herumi
7
3.4k
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
490
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
800
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
270
BBQ
matthewcrist
89
10k
Paper Plane (Part 1)
katiecoart
PRO
1
10k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
380
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
540
Optimising Largest Contentful Paint
csswizardry
37
3.9k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
380
Building the Perfect Custom Keyboard
takai
2
850
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
510
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