~/talk

Building production ready distributed task queue management system with celery

Talkat PyCon India 2020 · 2020-10-02..10-05· [distributed-systems]
linkedin:lazycoder07
slides:none on file

Practical checklist for running Celery at scale: use RabbitMQ or Redis as broker depending on persistence needs; split work into pipelines and consider batching (one example picks 10 orders at once — cuts DB trips tenfold but retries affect whole batch); run IO-bound tasks with gevent/eventlet and CPU-bound with prefork; set retries (example max_retries=5) with exponential backoff, enable ack_late=True and retry_jitter; rotate workers with max_memory_per_child / max_tasks_per_child; monitor with Flower or RabbitMQ management and schedule with Celery Beat or an external scheduler.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:50What are task queues
  3. 5:00What is Celery and why use it
  4. 7:28Building the system architecture
  5. 11:19Implementing the pipeline
  6. 12:02Benchmarking and performance tuning
  7. 14:28Optimizing I/O and CPU bound tasks
  8. 15:54Task distribution optimization
  9. 16:57Result backend and monitoring
  10. 17:17Adding resiliency and self-healing
  11. 20:53Handling memory leaks and crashes
  12. 22:17Monitoring with Flower
  13. 23:21Conclusion and key takeaways
  14. 24:48Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.