~/talk

Mixing reliability with Celery for delicious async tasks

Talkat DjangoCon US 2023 · 2023-10-16..10-20· [django, devops-and-delivery]
slides:none on file

Practical rules and exact settings decide whether Celery survives production. Use on_commit so tasks enqueue only after DB commit, store large payloads in S3 not task args, enable broker confirm_publish to avoid lost publishes, and set task_acks_late true so RabbitMQ redelivers on worker death. Run a Celery Beat job every 5 minutes to reconcile DB state to queued work. Avoid long ETA/countdown tasks, prefer workflow tools (Prefect Temporal Airflow) for complex pipelines; note SQS visibility timeout defaults (30m) and Redis (1h).

AI-written summary · about

  1. 0:00Reliable Celery tasks intro
  2. 1:03Why Celery reliability matters
  3. 3:54Avoiding task loss
  4. 6:00Recovering lost tasks
  5. 8:10Celery workflow limits
  6. 10:00Task loss between broker/worker
  7. 13:15Safe redelivery strategies
  8. 16:08RabbitMQ redelivery
  9. 18:33Worker failures handling
  10. 20:43Deploying Celery safely
  11. 22:29Celery reliability checklist
~/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.