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
Pull-Requestの内容を1クリックで動作確認可能にするワークフロー
natmark
2
510
ソフトウェア設計の実践的な考え方
masuda220
PRO
4
590
Introduce Hono CLI
yusukebe
3
1.5k
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
3
5.1k
そのpreloadは必要?見過ごされたpreloadが技術的負債として爆発した日
mugitti9
2
3.4k
理論と実務のギャップを超える
eycjur
0
140
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
2
880
Catch Up: Go Style Guide Update
andpad
0
230
品質ワークショップをやってみた
nealle
0
290
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
250
Web フロントエンドエンジニアに開かれる AI Agent プロダクト開発 - Vercel AI SDK を観察して AI Agent と仲良くなろう! #FEC余熱NIGHT
izumin5210
3
530
Swift Concurrency - 状態監視の罠
objectiveaudio
2
520
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
329
39k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Six Lessons from altMBA
skipperchong
29
4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Faster Mobile Websites
deanohume
310
31k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
8
910
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Agile that works and the tools we love
rasmusluckow
331
21k
Scaling GitHub
holman
463
140k
Side Projects
sachag
455
43k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
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