~/talk

The world of High Performance Distributed & Async Task Queue(s) with Celery

Talkat PyCon US 2024 · 2024-05-15..05-23· [microservices]
links:none on file
slides:none on file

A hands‑on Celery tutorial builds a working end‑to‑end banking notification system that sends SMS and WhatsApp via a task queue, uses RabbitMQ as the broker (Redis shown as an alternative), and wires Flower → Prometheus → Grafana for metrics. It demos .delay versus delay vs apply_async semantics, signatures/groups/chains, worker forking equal to CPU cores, autoscaling, bounded tasks and a custom state machine for production state tracking, and the examples run successfully.

AI-written summary · about

  1. 0:00Celery and task queues
  2. 15:43Distributed async queues
  3. 21:34Celery setup prerequisites
  4. 39:52Basic Celery tasks
  5. 49:54Parallel processing with workers
  6. 57:12Auto-scaling workers
  7. 1:03:38Task execution delay
  8. 1:18:26Two-way communication
  9. 1:25:26Task chaining and signatures
  10. 1:42:19State management in tasks
  11. 1:55:55Managing queues
  12. 2:06:39Monitoring with Flower
  13. 2:21:36Distributed Celery nodes
  14. 2:32:27Redis as broker
  15. 2:43:02Summary and Q&A
~/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.