Тёмный
No video :(

Django async HTTP requests with asyncio and aiohttp 

Very Academy
Подписаться 66 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@janakisasidhar7582
@janakisasidhar7582 3 года назад
Nice , please do more about event loop and tasks in general. Great content btw
@ytg6663
@ytg6663 Год назад
He is already teaching this in his course. Have a look on his udemy course
@gabbe2124
@gabbe2124 2 года назад
i was losing it before this video, didn't know how i would handle the performance issues on my django project. Now i know. Thank you alot!
@veryacademy
@veryacademy 2 года назад
Thanks Gabbe, good luck with your project.
@Mathias-cq3zo
@Mathias-cq3zo 3 года назад
Yes!!!! been waiting for this so long!!! Thanks!
@veryacademy
@veryacademy 3 года назад
Hope you like it!
@jairajsahgal7101
@jairajsahgal7101 7 месяцев назад
Very good tutorial. This can improve the speed of APIs a lot.
@veryacademy
@veryacademy 7 месяцев назад
Yes, definitely
@StoneZhong
@StoneZhong Год назад
I think running django development server won't allow you to fully leverage the benefit of async view, since django development server will spawn new thread for each "async" view, run it in a true asgi server (e.g. uvicorn) would allow you to fully leverage the advantage of async view.
@CoentraDZ
@CoentraDZ 3 года назад
This was a super clear explanation and good example used, keep going you are the best.
@orkhanrustamli2039
@orkhanrustamli2039 3 года назад
Hey, again as same as before great content! But, could you please do a detailed tutorial about asynchronous programming with Python so that understanding asyncio with Django will be more efficient! Thanks in advance!
@dipendranath6429
@dipendranath6429 3 года назад
Nice and clear description, but what about posting to external APIs and performing action according to return status ( ok , error, server down, no response etc ). I am very much interested to know about it.
@razzsawhoney2818
@razzsawhoney2818 3 года назад
@Zander Can you please make a video on how to implement an api(POST) accepting data in encrypted form not just plain text as usual ? I mean how can we implement end to end encryption on whatever data we post through our rest api. Or something like appending the signature along with the post data. And signature will be nothing but the encrypted data itself encrypted using some public key which can later be cross checked in the backend side. I really love your contents. Love 😍 from Nepal
@veryacademy
@veryacademy 3 года назад
Thanks Razz - I will just talk as though you might not had thought about this first. Encryption of data might add quite a bit of processing on the server side. Might HTTPS not be suitable for your situation?
@razzsawhoney2818
@razzsawhoney2818 3 года назад
Exactly we need to cross check whether we got the genuine data or not in the backend. Please go through my previous comment once again I have edited it somewhat. Thank you.
@justacasualdeveloper
@justacasualdeveloper 3 года назад
Great Video. 😁😁😁. Only one way to describe it would be to say "Perfect"
@hernanfigueroa6149
@hernanfigueroa6149 2 года назад
Good tutorial and with pokemons :))
@seandiamond7983
@seandiamond7983 2 года назад
Great tutorial. Going to subscribe. Please do a tutorial for adding async data to the database please.
@tungleanh9993
@tungleanh9993 3 года назад
just super. can not believe this video get under 100k views...
@veryacademy
@veryacademy 3 года назад
Thanks Tung, the main thing is you found it, and am happy it was useful for you 👍
@user-fd8qo7js8s
@user-fd8qo7js8s 11 месяцев назад
Why is Second Implementation also so much faster? Shouldn't it be similar to the first implementation(synchronous) because in the for loop, it seems to be waiting for the response before going to the next iteration?
@ogzhn
@ogzhn 2 года назад
​ Hi @Very Academy ı can't find your django core sessions. When you have a time , Could you please make a playlist of all your dkango core related videos ? Thank you.
@salahuddinbangash4785
@salahuddinbangash4785 2 года назад
Take a look of concurrent futures package you will love it.
@djangodeveloper2973
@djangodeveloper2973 2 года назад
real django coding. why he can't much views? please help him to get a lot of views.
@user-dn4du9cw1w
@user-dn4du9cw1w 2 года назад
MAN, you cool!) Thanks
@noonespecial270
@noonespecial270 2 года назад
greate content. just what I searched for.
@AcademyOmen
@AcademyOmen 3 года назад
This is awesome, Thanks Sir🙏
@Newascap
@Newascap 3 года назад
You are the best man
@veryacademy
@veryacademy 3 года назад
👍
@dasetwas1745
@dasetwas1745 2 года назад
Why cant I render my Api call? It says use async to sync or threads. I could not solve that with research
@evgenyocean426
@evgenyocean426 2 года назад
Hey! Is it right that before django 3 to implement what you have shown in the video, we had to manually create an event loop and run it?
@codedjango
@codedjango 3 года назад
Excellent tutorial :)
@ahmedghallab5342
@ahmedghallab5342 11 месяцев назад
شكرا Thanks
@taepark5222
@taepark5222 3 года назад
Is anyone able to explain me what * in the *action does?
@veryacademy
@veryacademy 3 года назад
The operators + and * can be used to concatenate lists - here we choose everything in the list
@daiyanhossainchowdhury5867
@daiyanhossainchowdhury5867 3 года назад
I wrote my code exactly like yours but I am getting content type error at / please help
@djangodeveloper07
@djangodeveloper07 2 года назад
hi great tutorial as usual. i was finding something else and found you again. for example if we have 1000 requests data to show in template. can we show data of each request whenever request data returns like request 1: loading request 2: success here is your data value request 3: success here is your data value request4: loading request5: fail etc and each request is on different api . feel like real app data. need it very badly any guide or help ?
@truthdawn7773
@truthdawn7773 2 года назад
Does that work with WSGI app?!?
@detofaentreprise9427
@detofaentreprise9427 2 года назад
hi . what is the difference between this and django channels??
@veryacademy
@veryacademy 2 года назад
Channels extends Django's abilities beyond HTTP - to handle WebSockets, chat protocols, IoT protocols.
@detofaentreprise9427
@detofaentreprise9427 2 года назад
@@veryacademy thank you
@armanahmed4806
@armanahmed4806 3 года назад
Hy zander plz make react django integration video
@navarajpokharel8980
@navarajpokharel8980 3 года назад
he already did how much do you want?
@rangabharath4253
@rangabharath4253 3 года назад
awesome
@kevinpaullamadrid9621
@kevinpaullamadrid9621 3 года назад
Thank you for Sharing do more video sir!!!
@veryacademy
@veryacademy 3 года назад
More to come!
@davishek7
@davishek7 3 года назад
👌💁
@AcademyOmen
@AcademyOmen 3 года назад
This is awesome, Thanks Sir🙏
Далее
Sentry Django Integration - Error Reporting
14:32
Просмотров 8 тыс.
Async Django - presented by Ivaylo Donchev
30:47
Просмотров 6 тыс.
Moto Trial vs Moto acrobática 🏁
00:29
Просмотров 2,3 млн
small vs big heart 💖 #tiktok
00:13
Просмотров 5 млн
Requests vs HTTPX vs Aiohttp | Which One to Pick?
15:11
Celery for asynchronous tasks in Django
8:46
Просмотров 7 тыс.
Python Asynchronous Programming - AsyncIO & Async/Await
25:57
django Architecture - Connection Management
15:10
Просмотров 47 тыс.
A faster Django response with Redis cache
6:39
Просмотров 14 тыс.
AsyncIO and the Event Loop Explained
13:34
Просмотров 30 тыс.