EuroPython 2018

Django & Celery - frequently used patterns

Speaker(s) Radoslav Georgiev

In this training we will explore different patterns that we often have to use in our web applications when dealing with async work.

In the Python and Django world, Celery is the go-to solution if we want to have workers, doing heavy lifting off the http process.

We will learn the basic Celery API and explore some frequently used patterns:

  • Running Celery in Django context.
  • Polling for results.
  • Using Celery canvas for complex flows.
  • Error handling and retrying.
  • Debugging and testing of Celery tasks.

For the training, a set of setup Django apps will be provided. The attendees will have to work on top of that in order to complete different Celery related tasks.

Do you have some questions on this talk?

New comment