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
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
230
ErdMap: Thinking about a map for Rails applications
makicamel
1
1.4k
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
29
5.1k
Amazon Bedrock Multi Agentsを試してきた
tm2
1
270
Spring gRPC について / About Spring gRPC
mackey0225
0
210
ARA Ansible for the teams
kksat
0
120
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
17
5.4k
2024年のWebフロントエンドのふりかえりと2025年
sakito
1
210
2024年のkintone API振り返りと2025年 / kintone API look back in 2024
tasshi
0
200
CNCF Project の作者が考えている OSS の運営
utam0k
5
670
いりゃあせ、PHPカンファレンス名古屋2025 / Welcome to PHP Conference Nagoya 2025
ttskch
1
260
SpringBoot3.4の構造化ログ #kanjava
irof
2
910
Featured
See All Featured
Building an army of robots
kneath
302
45k
We Have a Design System, Now What?
morganepeng
51
7.4k
Docker and Python
trallard
44
3.2k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
Six Lessons from altMBA
skipperchong
27
3.6k
How GitHub (no longer) Works
holman
313
140k
The Language of Interfaces
destraynor
156
24k
Done Done
chrislema
182
16k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
51k
Thoughts on Productivity
jonyablonski
69
4.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
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