Asynchronous Tasks in Python – Celery Backend Tutorial



When using Celery, the only way for you to store the results of the Celery workers is to use a backend. If you don’t use your backend, once the worker completes whatever task you assigned it, the result will be gone forever. By adding a backend, you can avoid that problem. In this video, I’ll show you how to easily add a backend to your app using SQLAlchemy.

Web Development Courses:
Flask Cheatsheet:

Subscribe:…

13 Comments

  1. Hi Anthony, you mention that using redis is a better option here. Do you have a video covering redis with Celery? If not, please make it; our app doesn't need a whole MySQL database yet. Thanks!

  2. Thank you so much for the tutorial! Also, can you make some django tutorials with celery? I am making a django project about facial recognition system and I have no idea how to use celery to run the facial recognition program on the background and pass the data to the database at the same time….

  3. HI Anthony, thanks a lot for the video. I had a doubt like if we want to execute tasks in queues like unless one task is completed , the other task should wait , instead of running each task parallely, how am i going to manage that with celery. Kindly explain.

  4. I was trying to use a Postgresql, Nothing happens when I send the task…It just shows in the celery window the reversed string but the DB is not getting updated.

Leave a Reply

Your email address will not be published.


*