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
Workers を定期実行する方法は一つじゃない
rokuosan
0
130
No Install CMS戦略 〜 5年先を見据えたフロントエンド開発を考える / no_install_cms
rdlabo
0
390
ソフトウェア設計とAI技術の活用
masuda220
PRO
25
7k
Bedrock AgentCore ObservabilityによるAIエージェントの運用
licux
8
460
Comparing decimals in Swift Testing
417_72ki
0
130
JetBrainsのAI機能の紹介 #jjug
yusuke
0
160
Vibe coding コードレビュー
kinopeee
0
340
脱Riverpod?fqueryで考える、TanStack Queryライクなアーキテクチャの可能性
ostk0069
0
570
202507_ADKで始めるエージェント開発の基本 〜デモを通じて紹介〜(奥田りさ)The Basics of Agent Development with ADK — A Demo-Focused Introduction
risatube
PRO
5
1.3k
なぜあなたのオブザーバビリティ導入は頓挫するのか
ryota_hnk
4
520
AI時代の『改訂新版 良いコード/悪いコードで学ぶ設計入門』 / ai-good-code-bad-code
minodriven
24
10k
Advanced Micro Frontends: Multi Version/ Framework Scenarios
manfredsteyer
PRO
0
120
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Why Our Code Smells
bkeepers
PRO
337
57k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
182
54k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
770
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
21
1.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Practical Orchestrator
shlominoach
190
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Statistics for Hackers
jakevdp
799
220k
The Cult of Friendly URLs
andyhume
79
6.5k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
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