3. Resource leaks
¡ Why doesn't Python release the memory when I
delete a large object? http://bit.ly/1yHUUKt
¡ –maxtasksperchild
¡ CELERYD_MAX_TASKS_PER_CHILD
4. Pooling external resources
¡ Connect to DB
every time a task is
executed?
¡ Pass non
serializable objects
to workers?
5. Limits
¡ Task dependencies -> Deadlocks
¡ Stale results
¡ Throttling
¡ Retries
¡ -time-limit or CELERYD_TASK_TIME_LIMIT
¡ –soft-time-limit or CELERYD_TASK_SOFT_TIME_LIMIT