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
320
Haystack + ElasticSearch
gchandrasa
2
2.3k
Other Decks in Programming
See All in Programming
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
260
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
860
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
410
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
100
MCP with Cloudflare Workers
yusukebe
2
270
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
140
ATDDで素早く安定した デリバリを実現しよう!
tonnsama
1
1.1k
103 Early Hints
sugi_0000
1
330
React 19でお手軽にCSS-in-JSを自作する
yukukotani
5
530
Effective Signals in Angular 19+: Rules and Helpers
manfredsteyer
PRO
0
340
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
180
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
1.3k
Featured
See All Featured
Designing for Performance
lara
604
68k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Gamification - CAS2011
davidbonilla
80
5.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Code Reviewing Like a Champion
maltzj
521
39k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Facilitating Awesome Meetings
lara
50
6.2k
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