~/talk

Painting on a Distributed Canvas: An Advanced Guide to Celery Workflows

Talkat PyOhio 2014 · 2014-07-26..07-27· [distributed-systems]
slides:none on file

Celery canvas is dissected into concrete primitives: serializable signatures form the unit, with chains (series), groups (parallel with GroupResult), and chords (group→callback) implemented via linking and result-store coordination. Recommendation: avoid RabbitMQ as result backend (it dequeues state), prefer Redis/memcache for atomic counters or a DB otherwise; use JSON serialization not pickle. Soft/hard timeouts, acks_late and idempotent tasks reduce lost work. A custom signature called weave splits and rejoins lists to chunk Twitter’s 5,000→100-ID calls and reliably reassemble results.

AI-written summary · about

  1. 0:00Intro
  2. 0:34Design Principles
  3. 1:54The Result Backend
  4. 4:43Signature
  5. 7:55Composition
  6. 11:52Group
  7. 14:33Cord
  8. 18:51Weave
  9. 21:49Why Weave
  10. 23:31Task Failures
  11. 25:06Rules of Thumb
  12. 26:48Time Limits
  13. 30:02Celery 311
  14. 31:48Questions
  15. 34:01Tasks
  16. 36:51Visualization
~/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.