Celery for asynchronous tasks in Django

  Рет қаралды 6,381

Django road

Django road

Күн бұрын

Offloading long running processes to a task manager is a good practice that will improve the user's experience with your Django app.
In this video, I'll show you how to integrate Celery in your Django project.
Chapters:
--------------
0:00 asynchronous/synchronous server interaction
0:54 what is Celery
1:07 how it works
1:41 the setup components
2:07 Celery simple example
4:39 implement Celery in Django
8:00 viewing results in browser
8:35 outro

Пікірлер: 14
@rajeshkarn2390
@rajeshkarn2390 Жыл бұрын
Thank you so much. ❣️
@AnantaAkash.Podder
@AnantaAkash.Podder Жыл бұрын
Mam, your Explanation are very well... ❤️❤️ And thank you very Much... Keep doing this type pf Deep Knowledge Videos☺️☺️
@djangoroad
@djangoroad Жыл бұрын
Thanks for watching and thanks for the feedback!
@x20x200
@x20x200 Жыл бұрын
Thank you.
@seandenny6430
@seandenny6430 Жыл бұрын
The worst part about Django + Celery is deployment. It's very challenging to manage deploying celery with a taks worker like rabbitmq or redis. Do you have any thoughts on that? It would be great if you could do a follow up video with a single project with celery that you deploy to a cloud service like AWS (say ElasticBeanstalk) or any alternative service even GCloud. Thanks for your work on this!
@djangoroad
@djangoroad Жыл бұрын
Hi, thanks for the feedback and that's a good idea. I'll do a followup video on deployment.
@jayp9158
@jayp9158 Жыл бұрын
Just use docker my man, is not hard
@khemchay
@khemchay 8 ай бұрын
Dockerize and store the state in a database so the workers will still continue to work on the last remaining tasks so that when you update or deploy your django version it will store the last state and continue.
@aashayamballi
@aashayamballi Жыл бұрын
Thank you..
@iwilldowhatiwannado843
@iwilldowhatiwannado843 Жыл бұрын
thank you so much!
@adityanjsg99
@adityanjsg99 Жыл бұрын
Crisply covered!
@warreninganji7881
@warreninganji7881 3 ай бұрын
What could cause the worker to not succeed in executing the task, but it shows it has received?
@vb5251
@vb5251 Жыл бұрын
Can we use the django models and ORM within the celery task as normal?
@MartinoxxHD
@MartinoxxHD Жыл бұрын
Of course
celery django примеры #2
53:24
Django School | Омельченко Михаил
Рет қаралды 44 М.
Async Django - presented by Ivaylo Donchev
30:47
EuroPython Conference
Рет қаралды 6 М.
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,7 МЛН
4 ways to serve static files in Django
8:11
Django road
Рет қаралды 11 М.
A faster Django response with Redis cache
6:39
Django road
Рет қаралды 14 М.
3 ways to reduce the size of your docker images
17:20
Raghav Dua
Рет қаралды 7 М.
Настраиваем Cron в Django (Celery + Redis)
33:06
Celery + Django - теория  #1
32:38
Django School | Омельченко Михаил
Рет қаралды 48 М.
Introduction to Celery and Creating Asynchronous Tasks for Django
13:20
Wait... PostgreSQL can do WHAT?
20:33
The Art Of The Terminal
Рет қаралды 191 М.
Sending Emails in Django With Celery
23:20
Pretty Printed
Рет қаралды 77 М.
How to Make 2500 HTTP Requests in 2 Seconds with Async & Await
4:27
John Watson Rooney
Рет қаралды 112 М.
Deploying Django with Docker Compose, Gunicorn and Nginx
15:59
Django road
Рет қаралды 91 М.
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН