All You Need to Know about WSGI
Ғылым және технология
#django #wsgi #python #web #http #programming
In this lesson we will answer questions like what is WSGI? Why you need it ? Why you need an application (like gunicorn or uwsgi) server at all?
You probably noticed that i did not publish any lesson since some time... this is because I was busy with another project my main Papermerge project - www.papermerge.com - I even got some clients, yey! Anyway, I will publish all PRO lessons for free! Here is the first one!
Enjoy!
Пікірлер: 115
Hi! You probably noticed that i did not publish any lesson since some time... this is because I was busy with my main project Papermerge - www.papermerge.com - I even got some clients, yey! Anyway, I will publish all PRO lessons for free! Here is the first one!
Explaining such things along with 'why they were developed' gives the best understanding. Thank you!
This is an amazing video. Very clear and especially with the history that explaining why we need it, helps me better understand all the confusion I had to the WSGI, NGINX, Apache, and Django. Thanks for creating such a perfect video!
nowadays, everyone is surrounded by massive amount of documents, tutorials etc. it is a luxury to come across a short & to-the-point, clear and well-explained tutorial. Thank you very much for this great sharing, it saves me, a self-learner, lots of time.
Finally, I realized how Gunicorn is related to WSGI! Thanks a lot for this great tutorial.
@djangolessons4614
3 жыл бұрын
you are welcome!
@mehdikamani8004
3 жыл бұрын
ahsant 😋😋
Thank you. That was a simple and easy to understand explanation. I particularly appreciate the first few minutes that start with explaining the history of web servers and web development. We 21st century engineers get most things for granted!
Thank you for this video. Your presentation skills, content, and teaching is simple, easy to follow, and straight forward. I have cleared up some nebulas web concepts for me in a short amount of time. Nice work!
Great explanation about WSGI and Gunicorn. I was confused when reading about them when deploying a Django project and it is much clearer now. Thank you!
It's simple to notice how much work you have done, to have all theese knowledge, and, what's more appreciated, that you decided to share it. Thanks. Good luck 🍀
Excellent style of presentation. Love the historical contexts/rationales. Thanks!
Hey man. You make short, compact and simple videos. Appreciated!
this video is not just the best one explaining WSGI and gunicorn, it is the only one that can explain actually. I appreciate a lot
Thank you very much from Korea. It is the video that delivers core concepts of web engines in simple and explicit way. Good work!
Thank you so much! I love your teaching style, keep up the great work!
Straight to the point and hard-to-earn understandings from history point of view to way this is done this way. Thank you for sharing valuable information!!! ❤
High quality content. You have a talent crunching complex things into simpler ones
Incredible, finally understood the whole interactions of these 3. Thanks
This is a great video! The history/background really helped with understanding WSGI and its benefits.
Beautiful explanation. Top notch illustration.
Thanks for great explanation! Now it makes much more sense why I have to use gunicorn. History part is also awesome telling not only how, but why too.
Thanks for clearing my thought on WSGI
Very great lesson. I really appreciate author's hard works.
This is terrifyngly useful! Thank you very much for uploading :)
This video was very helpful !!! you're doing a great job Thank you , i'll recommend this channel to my friends.
More such complex yet simple topics!!! I got to know so much about CGI from this video!!
Awesome explanation! hope to see next new vedio
Wow! I learned it perfectly! that's really really good!
Great video!. For me is very important to learn the historical part always help me to remenber and all now many time has sense.
Best video that I found that explain how CGI works.
Brilliant video. The depth and explanation was perfect.
@djangolessons4614
3 жыл бұрын
Glad you liked it!
Very nice explanation, thank you!
Wow .. finally I understood the low level details behind communication between front-end and back-end
This helped me a lot to understand WHY I need to use gunicorn instead of using the included dev server from flask. Thank you !
@PCspray
3 жыл бұрын
BTW you should teach in university
Awesome one😋😋 made my day, I was so confused with this technology stack😋😋
Really concise and easy to grasp tutorial!!
This is an excellent video. Great explanation.
Thanks - very helpful and informative. Bless you brother.
Brilliant Explanation. Thanks a lot
Brilliant!!! Thank you so much!
Excellent explanation, thanks for sharing. 👍🏼
Thank you so much for the explanation 🙏
This was very helpful, thank you very much!
Thanks a lot..very clean explanation 💯💯 You made my day👍
Excelent explanation. Thank you for this great video.
Thank you, this was well explained
Brilliantly explained, Thanks!
Thanks for the great explanations, keep it up!
oh finally I found something that explains the full picture without any gaps
thanks for clarifying those things and flow
Best explanation so far
Amazingly explained. Thank you :-)
Thanks! Useful video
Great explaination with a lot of context, thanks a lot for that! I was reading 2 articles on WSGI before (first 2 hits on google) and none could really get to the bottom of it.
All your tutorials are awesome man. Just try to zoom your workspace a little or make the screen resolution less than 1024 so it will look clearer with small screen devices
Finally good explanation of this theme
Super lesson!
Great lesson, thanks mate!
Thank you so much for explaining the problem the problem CGI, WSGI solve.
Awesome tutorial ,thank you ♥️♥️
great video! subscribed!
That was a wonderful lesson
Great explanation, thank you!
Wonderful video!
Great video. Thank you.
Hello, Thank you for the lesson! Exxtremly clear and concise information are presented in this video. I didn't understand something: if the process is pre-forked, then how can we pass the requests data through environment variables when the request arrives ???
Well explained. Thank you a lot
Great video, mate!
Great explanation
great lesson
To the point explanation , Great thanks :)
great explanation. Thanks c:
Excellent
great video, thank you.
super informative video thanks man.
Thanks; I got it now.
Hi, thank you for this tutorial. How does it work for ASGI (e.g., daphne)? Is it the same mechanism, or is there something specific, e.g., about the relation between the proxy server and the ASGI application/ "kind of a web server" (and the workers), due to the asynchronicity of the request processing? 🤔
That was actually pretty good
derdy(env,foo) --> in django env is request ,so what is foo ?
So important topic I learned today
Thank you for this great tutorial, much appreciated. However, I need extra guidance relative to my situation. I have built my Python Script on VSCode using Flask Framework. My target is to deploy that Python Script to Apache server without Flask so I can implement thread safe/multi thread/multi process using WSGI as I expect the application will have massive number of users. What is the way forward for me? Again, thank you in advance for any suggestion that you may provide.
Very good.
Love this thanks a lot
Thank you 😊
Awesome 👍👍👍
So by the end of this vídeo, were you running an online website ? Could anyone with an internet connection have accesed it? Or was it local? That wasnt so clear to me. I'm very new to apache, thamk you.
very helpful
Realy enjoyed the video
Thank you
Thank you life saver
It was a great tutorial
spasibo bratan
Character In the video It's great, I like it a lot $$
You are the best
thanks!
best video!
Great explanation! I loved it. Also I have a doubt, if gunicoron and uWSGI understands HttpRequests, what justifies the use of apache or nginx in front?
@HarYJeJE
Жыл бұрын
I guess they don't have all the functionality of a web server, just the bare minimum to perform specific jobs.
fire video
Do I need Gunicorn/uWSGI , if Apache is running on my Server?
@naheliegend5222
2 жыл бұрын
answer my own question: no, use mod_wsgi
Hi, great video. this is completely irrelevant to current topic but i have a problem. I have a dockerfile which is using gunicorn to run django application. The problem is while creating a dockerfile gunicorn uses certain ip and port, what should I specify for those values. I tried to do something like this: CMD ["gunicorn" ,"-b" ,"0.0.0. 0:8 000" ,"my_project.wsgi"] it does not work. CMD ["gunicorn" ,"-b" ,"0.0.0. 0:8 000" ,"my_project.wsgi"] but this works. why does this happen, how to solve this issue. my goal is to deploy my django application using docker ( on aws ). create a ci/cd solution for my django app. ( on aws ) It would be great if you could help out.
I just wanted to clarify that Gunicorn is kinda web server, which kinda works as a web server, but it's not exactly a web server :D Just kidding, great explanation man!