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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
340
Haystack + ElasticSearch
gchandrasa
1
2.4k
Other Decks in Programming
See All in Programming
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
530
JavaDoc 再入門
nagise
0
310
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
3.9k
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
740
New "Type" system on PicoRuby
pocke
1
750
OSもどきOS
arkw
0
470
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
450
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
18
6.3k
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
110
AIで効率化できた業務・日常
ochtum
0
120
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
150
Featured
See All Featured
Writing Fast Ruby
sferik
630
63k
Accessibility Awareness
sabderemane
1
130
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.4k
Deep Space Network (abreviated)
tonyrice
0
170
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Building AI with AI
inesmontani
PRO
1
1.1k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
310
Between Models and Reality
mayunak
4
330
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Code Review Best Practice
trishagee
74
20k
Navigating Weather and Climate Data
rabernat
0
210
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