Unlocking the Potential of Asynchronous Task Processing with Python Celery

hemi s.k (~hemi)




This workshop starts by guiding you through setting up a fully functional Django Celery environment. You'll learn the basics of Django Celery, explore task producers and consumers, and gain hands-on experience building Docker containers for Django, Redis (the message broker), and Celery workers. Additionally, you'll understand the role of a results backend and create a Redis Docker container to facilitate effective task communication.

Moving forward, you'll delve into defining and executing Celery tasks within a Django application. You'll discover how to create and register tasks, start and manage Celery workers, and configure task routing for optimized task distribution. Advanced concepts such as task prioritization, grouping, chaining, rate limits, and passing arguments and returning results from Celery tasks will be thoroughly covered. You'll also explore synchronous and asynchronous task execution approaches and utilize the Flower monitoring tool to track Celery workers and tasks.

Handling task failures and retries is crucial in asynchronous task processing, and this workshop provides a comprehensive introduction to this topic. You'll gain insights into common Celery task exceptions and errors, explore various error handling strategies, and implement automatic retries and error tracking using tools like Sentry.

Task scheduling and periodic tasks play a vital role in managing recurring tasks efficiently. You'll learn the fundamentals of task scheduling, including scheduling tasks at specific times or intervals. You'll explore customization of periodic tasks, crontab schedules, and scheduling Django custom commands using Celery Beat.

Throughout the workshop, hands-on exercises, practical examples, and real-world scenarios will enhance your learning experience and enable you to apply the concepts directly in your projects. By the end of this workshop, you'll have mastered Django Celery and be equipped with the skills to implement efficient asynchronous task processing in Python applications, ensuring scalability, responsiveness, and optimal resource utilization.

Whether you're a Python developer, Django developer, web application developer, software engineer, backend developer, or a technical lead/architect, this workshop will empower you to unlock the full potential of Django Celery and revolutionize your approach to asynchronous task processing. Enroll now and take the first step towards mastering asynchronous task processing in Python!


Basic understanding of Django concepts. Familiarity with fundamental Python programming concepts is advantageous.

Speaker Info:

Hello, I'm Hemangi Karchalkar. Armed with six years of professional programming experience and an enduring love for coding, I presently serve as a Senior Software Developer at EPAM Systems. Beyond my coding prowess, I find fulfillment in sharing knowledge with others. My passion lies in aiding individuals in their journey to success in the realms of data science and artificial intelligence. I've been fortunate to present at esteemed gatherings such as PyCon Italia 2023, Pycon India 2023, Pyconf Hyderabad 2022, Pycon Italia 2024, and GIDS Bangalore 2023.

Section: Core Python
Type: Workshops
Target Audience: Intermediate
Last Updated: