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

  • @djangolessons4614
    @djangolessons46143 жыл бұрын

    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!

  • @vinamarora7049
    @vinamarora70493 жыл бұрын

    Explaining such things along with 'why they were developed' gives the best understanding. Thank you!

  • @typwriter1991
    @typwriter19919 ай бұрын

    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!

  • @acrossover
    @acrossover3 жыл бұрын

    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.

  • @alizafari8729
    @alizafari87293 жыл бұрын

    Finally, I realized how Gunicorn is related to WSGI! Thanks a lot for this great tutorial.

  • @djangolessons4614

    @djangolessons4614

    3 жыл бұрын

    you are welcome!

  • @mehdikamani8004

    @mehdikamani8004

    3 жыл бұрын

    ahsant 😋😋

  • @ali-kadar
    @ali-kadar2 жыл бұрын

    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!

  • @davehouser1
    @davehouser13 жыл бұрын

    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!

  • @poneis88
    @poneis883 жыл бұрын

    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!

  • @user-zv9lj2uy7f
    @user-zv9lj2uy7f3 жыл бұрын

    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 🍀

  • @ranelpadon8834
    @ranelpadon88342 жыл бұрын

    Excellent style of presentation. Love the historical contexts/rationales. Thanks!

  • @syntaxerror1044
    @syntaxerror10443 жыл бұрын

    Hey man. You make short, compact and simple videos. Appreciated!

  • @hamedmatari2577
    @hamedmatari25774 ай бұрын

    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

  • @junumoon7022
    @junumoon70223 жыл бұрын

    Thank you very much from Korea. It is the video that delivers core concepts of web engines in simple and explicit way. Good work!

  • @Oranges4DaWin
    @Oranges4DaWin3 жыл бұрын

    Thank you so much! I love your teaching style, keep up the great work!

  • @jackycwwang
    @jackycwwang2 жыл бұрын

    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!!! ❤

  • @user-fe1nr3ws1z
    @user-fe1nr3ws1z4 ай бұрын

    High quality content. You have a talent crunching complex things into simpler ones

  • @circuitsofaim
    @circuitsofaim15 күн бұрын

    Incredible, finally understood the whole interactions of these 3. Thanks

  • @idjung4
    @idjung43 жыл бұрын

    This is a great video! The history/background really helped with understanding WSGI and its benefits.

  • @kenkioqqo
    @kenkioqqo10 ай бұрын

    Beautiful explanation. Top notch illustration.

  • @dmitrimedvedev4653
    @dmitrimedvedev46532 жыл бұрын

    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.

  • @8305251920
    @83052519202 жыл бұрын

    Thanks for clearing my thought on WSGI

  • @Surajjaxa7474
    @Surajjaxa74743 жыл бұрын

    Very great lesson. I really appreciate author's hard works.

  • @martinnieva8484
    @martinnieva84842 жыл бұрын

    This is terrifyngly useful! Thank you very much for uploading :)

  • @tarikulislambhuiyan8938
    @tarikulislambhuiyan89383 жыл бұрын

    This video was very helpful !!! you're doing a great job Thank you , i'll recommend this channel to my friends.

  • @pinch-of-salt
    @pinch-of-salt3 жыл бұрын

    More such complex yet simple topics!!! I got to know so much about CGI from this video!!

  • @Jon-vv6nf
    @Jon-vv6nf2 жыл бұрын

    Awesome explanation! hope to see next new vedio

  • @idobleicher
    @idobleicher2 жыл бұрын

    Wow! I learned it perfectly! that's really really good!

  • @standardio8270
    @standardio8270 Жыл бұрын

    Great video!. For me is very important to learn the historical part always help me to remenber and all now many time has sense.

  • @ramirez368
    @ramirez3682 жыл бұрын

    Best video that I found that explain how CGI works.

  • @fyimbtmn
    @fyimbtmn3 жыл бұрын

    Brilliant video. The depth and explanation was perfect.

  • @djangolessons4614

    @djangolessons4614

    3 жыл бұрын

    Glad you liked it!

  • @vnie1988
    @vnie19882 жыл бұрын

    Very nice explanation, thank you!

  • @yassersaied7279
    @yassersaied72792 жыл бұрын

    Wow .. finally I understood the low level details behind communication between front-end and back-end

  • @PCspray
    @PCspray3 жыл бұрын

    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

    @PCspray

    3 жыл бұрын

    BTW you should teach in university

  • @abhijithalder4996
    @abhijithalder49963 жыл бұрын

    Awesome one😋😋 made my day, I was so confused with this technology stack😋😋

  • @eduardmart1237
    @eduardmart12373 жыл бұрын

    Really concise and easy to grasp tutorial!!

  • @juanguirao
    @juanguirao Жыл бұрын

    This is an excellent video. Great explanation.

  • @craigleppan7164
    @craigleppan71643 жыл бұрын

    Thanks - very helpful and informative. Bless you brother.

  • @jatinsinghal9486
    @jatinsinghal94862 жыл бұрын

    Brilliant Explanation. Thanks a lot

  • @skohari
    @skohari Жыл бұрын

    Brilliant!!! Thank you so much!

  • @eduardogil1775
    @eduardogil17753 жыл бұрын

    Excellent explanation, thanks for sharing. 👍🏼

  • @vlad_covers
    @vlad_covers2 жыл бұрын

    Thank you so much for the explanation 🙏

  • @kg13
    @kg133 жыл бұрын

    This was very helpful, thank you very much!

  • @prathameshwaghmare5846
    @prathameshwaghmare58463 жыл бұрын

    Thanks a lot..very clean explanation 💯💯 You made my day👍

  • @jplobianco
    @jplobianco2 жыл бұрын

    Excelent explanation. Thank you for this great video.

  • @justchary
    @justchary Жыл бұрын

    Thank you, this was well explained

  • @choiggoggi
    @choiggoggi3 жыл бұрын

    Brilliantly explained, Thanks!

  • @FrancoisSchnell
    @FrancoisSchnell3 жыл бұрын

    Thanks for the great explanations, keep it up!

  • @hassanumari3938
    @hassanumari39382 жыл бұрын

    oh finally I found something that explains the full picture without any gaps

  • @takshpatel8109
    @takshpatel81093 жыл бұрын

    thanks for clarifying those things and flow

  • @LongNguyen-xz7es
    @LongNguyen-xz7es2 жыл бұрын

    Best explanation so far

  • @debojyotipramanick2124
    @debojyotipramanick21243 жыл бұрын

    Amazingly explained. Thank you :-)

  • @eugaleksandr
    @eugaleksandr2 жыл бұрын

    Thanks! Useful video

  • @dopestdopex
    @dopestdopex2 жыл бұрын

    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.

  • @AhmedHassandahabey
    @AhmedHassandahabey3 жыл бұрын

    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

  • @anti7257
    @anti72572 жыл бұрын

    Finally good explanation of this theme

  • @danalex2991
    @danalex29912 жыл бұрын

    Super lesson!

  • @davidbohadana8274
    @davidbohadana82743 жыл бұрын

    Great lesson, thanks mate!

  • @_theashishbhatt
    @_theashishbhatt2 ай бұрын

    Thank you so much for explaining the problem the problem CGI, WSGI solve.

  • @ujwalc9226
    @ujwalc92263 жыл бұрын

    Awesome tutorial ,thank you ♥️♥️

  • @muhammedabuodeh9310
    @muhammedabuodeh93102 жыл бұрын

    great video! subscribed!

  • @Mnassar25
    @Mnassar254 ай бұрын

    That was a wonderful lesson

  • @dominikmaj7088
    @dominikmaj70882 жыл бұрын

    Great explanation, thank you!

  • @szymonpiechutowski2340
    @szymonpiechutowski2340Ай бұрын

    Wonderful video!

  • @ahmed-samer
    @ahmed-samer2 жыл бұрын

    Great video. Thank you.

  • @bashirabdelwahed40
    @bashirabdelwahed402 жыл бұрын

    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 ???

  • @lefteriskapsimalis9613
    @lefteriskapsimalis96133 жыл бұрын

    Well explained. Thank you a lot

  • @alejandroalemanhernandez4071
    @alejandroalemanhernandez40713 жыл бұрын

    Great video, mate!

  • @alisafapour9380
    @alisafapour9380 Жыл бұрын

    Great explanation

  • @starplatinum2008
    @starplatinum20082 жыл бұрын

    great lesson

  • @KrishanKumar-tf5ve
    @KrishanKumar-tf5ve2 жыл бұрын

    To the point explanation , Great thanks :)

  • @StrangeIndeed
    @StrangeIndeed3 жыл бұрын

    great explanation. Thanks c:

  • @Mmustafa-v4j
    @Mmustafa-v4j2 жыл бұрын

    Excellent

  • @asigari0711
    @asigari07119 ай бұрын

    great video, thank you.

  • @monkgreensky2429
    @monkgreensky24293 жыл бұрын

    super informative video thanks man.

  • @peterlaidlaw8655
    @peterlaidlaw8655 Жыл бұрын

    Thanks; I got it now.

  • @mikolajbuchwald
    @mikolajbuchwald2 жыл бұрын

    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? 🤔

  • @LucasNaruto8107
    @LucasNaruto81073 жыл бұрын

    That was actually pretty good

  • @abdelrhmanahmed1378
    @abdelrhmanahmed13783 жыл бұрын

    derdy(env,foo) --> in django env is request ,so what is foo ?

  • @thegreatsilence1081
    @thegreatsilence10813 жыл бұрын

    So important topic I learned today

  • @raysilitonga8548
    @raysilitonga85482 жыл бұрын

    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.

  • @muralidhar40
    @muralidhar402 жыл бұрын

    Very good.

  • @sammychafiqui1817
    @sammychafiqui18173 жыл бұрын

    Love this thanks a lot

  • @aashayamballi
    @aashayamballi3 жыл бұрын

    Thank you 😊

  • @rasimatics
    @rasimatics3 жыл бұрын

    Awesome 👍👍👍

  • @araceliromero960
    @araceliromero9603 жыл бұрын

    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.

  • @asimabusallam3147
    @asimabusallam31473 жыл бұрын

    very helpful

  • @mehdikamani8004
    @mehdikamani80043 жыл бұрын

    Realy enjoyed the video

  • @shubhamsharma-fs7dc
    @shubhamsharma-fs7dc2 жыл бұрын

    Thank you

  • @ditithaqi
    @ditithaqi3 жыл бұрын

    Thank you life saver

  • @chetansoni2795
    @chetansoni27953 жыл бұрын

    It was a great tutorial

  • @boriscreativespace
    @boriscreativespace3 жыл бұрын

    spasibo bratan

  • @LoanNguyen-zh1uy
    @LoanNguyen-zh1uy2 жыл бұрын

    Character In the video It's great, I like it a lot $$

  • @SE420
    @SE4203 жыл бұрын

    You are the best

  • @chenchaowang8863
    @chenchaowang88633 жыл бұрын

    thanks!

  • @probhakarsarkar2430
    @probhakarsarkar24303 жыл бұрын

    best video!

  • @everardosanchez
    @everardosanchez2 жыл бұрын

    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

    @HarYJeJE

    Жыл бұрын

    I guess they don't have all the functionality of a web server, just the bare minimum to perform specific jobs.

  • @TheGluemess
    @TheGluemess Жыл бұрын

    fire video

  • @naheliegend5222
    @naheliegend52223 жыл бұрын

    Do I need Gunicorn/uWSGI , if Apache is running on my Server?

  • @naheliegend5222

    @naheliegend5222

    2 жыл бұрын

    answer my own question: no, use mod_wsgi

  • @aditmodi
    @aditmodi3 жыл бұрын

    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.

  • @evgenyocean426
    @evgenyocean4263 жыл бұрын

    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!

Келесі