~/talk

Playing tasks with Django-Celery

Talkat EuroPython 2011 · 2011-06-20..06-26· [python]
links:none on file
slides:none on file

Uses Celery with a RabbitMQ broker and MongoDB result backend, runs Django-Celery (jungle celery) for web scheduling and admin, and adds a small web view to trigger registered tasks. Implements per-task max_tasks_per_child to avoid memory leaks, a Mongo-backed unique-task lock on arguments to prevent concurrent work on the same album, and custom task base class methods (override __call__ and after_return) for temp folders and cleanup. Centralized logging goes to syslog.

AI-written summary · about

  1. 0:00Start
  2. 9:22Celery worker
  3. 13:52Defining a simple task
  4. 15:43Retrying a task if something fails
  5. 17:46Task set example
  6. 22:07The Jamendo Task class
  7. 30:27Jamendo needs UNIQUE tasks
~/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.