DjangoCon US 2018 - Building Workflows With Celery by Josue Balandrano Coronel

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=LVjlyxhrynI



Duration: 0:00
94 views
0


Task Queues is a topic which most developers will eventually have to dive into, specially in today’s web development world. The idea is really simple: whenever one has any functionality which might take too long to perform, one can spawn a process which will take care of this functionality without having to block the app’s main loop. A task queue will use worker processes to execute these long-running tasks and the user does not have to wait until the task is done. Instead, an acknowledged message is presented to de user while the task is executed in the background. This concept is really important when building web applications. HTTP Requests have timeout and making the user wait a long time for something to finish is not a good user experience practice. Usually, these tasks are used in groups creating a workflow where the work is distributed into smaller tasks.

Celery is usually the first project one encounters when searching for task queues and Django. I have been using Celery for over four years. The Celery project is one of the most robust task queues out there. It is certainly not the only task queue. And, it can be difficult planning the correct architecture for a specific workflow. This talk will explain enough of Celery’s basics to understand how to build workflows with Celery.

Building workflows with Celery is never straight forward. This is mainly because Celery offers the building blocks to build workflows but it tries to move out of the way. By not being too intrusive, Celery allows building complex workflows. I will explain common patters and tips to successfully use celery to build workflow of different complexities.




Other Videos By Confreaks


2022-04-08DjangoCon US 2018 - Auto-generating an API using PostgreSQL... by Mjumbe Poe
2022-04-08DjangoCon US 2018 - Autonomous Vehicles, Intelligent Transportation Systems... by Ken Whitesell
2022-04-08DjangoCon US 2018 - Transfer those Skills!... by Caroline Taylor and Rebekah Post
2022-04-08DjangoCon US 2018 - Herding Cats with Django... by Sage Sharp
2022-04-08DjangoCon US 2018 - Code Review Skills for Pythonistas by Nina Zakharenko
2022-04-08DjangoCon US 2018 - Wagtail CMS - Making Django More User (and Developer) Friendly by Sara Heins
2022-04-08DjangoCon US 2018 - A Python-Driven Web App Framework... by Kendall Chuang and Henry Olson
2022-04-08DjangoCon US 2018 - An Intro to Docker for Djangonauts by Lacey Williams Henschel
2022-04-08DjangoCon US 2018 - Elasticsearch: Accelerating the Django Admin by Kate Kligman
2022-04-08DjangoCon US 2018 - Packaging Django Apps for Distribution on PyPI by Laura Hampton
2022-04-08DjangoCon US 2018 - Building Workflows With Celery by Josue Balandrano Coronel
2022-04-08DjangoCon US 2018 - Containerless Django: Deploying without Docker by Peter Baumgartner
2022-04-08DjangoCon US 2018 - Lightning Talks Day 1
2022-04-08DjangoCon US 2018 - BDD (Behavior Driven Development) Testing for Django Apps by Le Xiao
2022-04-08DjangoCon US 2018 - Opening Keynote by Chloe Condon
2022-04-08DjangoCon US 2018 - It's about time by Russell Keith-Magee
2022-02-01ChefConf 2018 - NFCU and Chef: A Year of Automating AIX, Linux, and More by Alan Thatcher
2022-02-01ChefConf 2018 - Chef + Google Kubernetes Engine by Alex Stephen
2022-02-01ChefConf 2018 - Building and Running ASP.Net Applications in Habitat by Matt Wrock
2022-02-01ChefConf 2018 - Cloud Compliance with InSpec and Automate by Victoria Jeffrey
2022-02-01ChefConf 20218 - How to Prepare for an Audit AKA Make Audits Suck Less by Seth Thoenen