All You Need to Know about WSGI

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • #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!

Комментарии • 117

  • @djangolessons4614
    @djangolessons4614  4 года назад +24

    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
    @vinamarora7049 3 года назад +10

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

  • @acrossover
    @acrossover 3 года назад +10

    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.

  • @typwriter1991
    @typwriter1991 10 месяцев назад +6

    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!

  • @alizafari8729
    @alizafari8729 3 года назад +22

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

  • @ali-kadar
    @ali-kadar 2 года назад +9

    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!

  • @hamedmatari2577
    @hamedmatari2577 5 месяцев назад +1

    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

  • @syntaxerror1044
    @syntaxerror1044 4 года назад +6

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

  • @circuitsofaim
    @circuitsofaim 2 месяца назад

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

  • @8305251920
    @8305251920 2 года назад +1

    Thanks for clearing my thought on WSGI

  • @kenkioqqo
    @kenkioqqo 11 месяцев назад +2

    Beautiful explanation. Top notch illustration.

  • @standardio8270
    @standardio8270 Год назад +1

    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
    @ramirez368 3 года назад

    Best video that I found that explain how CGI works.

  • @user-fe1nr3ws1z
    @user-fe1nr3ws1z 5 месяцев назад

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

  • @PCspray
    @PCspray 3 года назад

    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

  • @yassersaied7279
    @yassersaied7279 2 года назад

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

  • @user-zv9lj2uy7f
    @user-zv9lj2uy7f 3 года назад

    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 🍀

  • @poneis88
    @poneis88 3 года назад +1

    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!

  • @hassanumari3938
    @hassanumari3938 2 года назад

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

  • @ranelpadon8834
    @ranelpadon8834 2 года назад +1

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

  • @davehouser1
    @davehouser1 3 года назад +2

    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!

  • @dmitrimedvedev4653
    @dmitrimedvedev4653 2 года назад

    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.

  • @_theashishbhatt
    @_theashishbhatt 3 месяца назад

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

  • @pinch-of-salt
    @pinch-of-salt 3 года назад +1

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

  • @junumoon7022
    @junumoon7022 3 года назад

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

  • @jackycwwang
    @jackycwwang 2 года назад

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

  • @anti7257
    @anti7257 2 года назад

    Finally good explanation of this theme

  • @martinnieva8484
    @martinnieva8484 2 года назад

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

  • @abhijithalder4996
    @abhijithalder4996 4 года назад +3

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

  • @LongNguyen-xz7es
    @LongNguyen-xz7es 2 года назад

    Best explanation so far

  • @justchary
    @justchary Год назад +1

    Thank you, this was well explained

  • @fyimbtmn
    @fyimbtmn 3 года назад +1

    Brilliant video. The depth and explanation was perfect.

  • @Jon-vv6nf
    @Jon-vv6nf 2 года назад

    Awesome explanation! hope to see next new vedio

  • @idjung4
    @idjung4 3 года назад

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

  • @idobleicher
    @idobleicher 2 года назад

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

  • @dopestdopex
    @dopestdopex 2 года назад

    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.

  • @Surajjaxa7474
    @Surajjaxa7474 3 года назад

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

  • @tarikulislambhuiyan8938
    @tarikulislambhuiyan8938 4 года назад +1

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

  • @in7hesky
    @in7hesky 25 дней назад

    This is a great explanation indeed

  • @Oranges4DaWin
    @Oranges4DaWin 3 года назад

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

  • @juanguirao
    @juanguirao 2 года назад

    This is an excellent video. Great explanation.

  • @jatinsinghal9486
    @jatinsinghal9486 2 года назад

    Brilliant Explanation. Thanks a lot

  • @vnie1988
    @vnie1988 2 года назад

    Very nice explanation, thank you!

  • @skohari
    @skohari Год назад

    Brilliant!!! Thank you so much!

  • @vlad_covers
    @vlad_covers 2 года назад

    Thank you so much for the explanation 🙏

  • @eugaleksandr
    @eugaleksandr 3 года назад +1

    Thanks! Useful video

  • @jplobianco
    @jplobianco 2 года назад

    Excelent explanation. Thank you for this great video.

  • @craigleppan7164
    @craigleppan7164 3 года назад

    Thanks - very helpful and informative. Bless you brother.

  • @eduardogil1775
    @eduardogil1775 3 года назад

    Excellent explanation, thanks for sharing. 👍🏼

  • @takshpatel8109
    @takshpatel8109 3 года назад

    thanks for clarifying those things and flow

  • @eduardmart1237
    @eduardmart1237 3 года назад

    Really concise and easy to grasp tutorial!!

  • @bashirabdelwahed40
    @bashirabdelwahed40 2 года назад +1

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

  • @LucasNaruto8107
    @LucasNaruto8107 3 года назад

    That was actually pretty good

  • @LoanNguyen-zh1uy
    @LoanNguyen-zh1uy 2 года назад

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

  • @ranuvijay1
    @ranuvijay1 Месяц назад

    Amazing video and knowledge 😊

  • @Mnassar25
    @Mnassar25 5 месяцев назад

    That was a wonderful lesson

  • @choiggoggi
    @choiggoggi 3 года назад

    Brilliantly explained, Thanks!

  • @prathameshwaghmare5846
    @prathameshwaghmare5846 3 года назад

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

  • @kg13
    @kg13 3 года назад

    This was very helpful, thank you very much!

  • @FrancoisSchnell
    @FrancoisSchnell 3 года назад

    Thanks for the great explanations, keep it up!

  • @debojyotipramanick2124
    @debojyotipramanick2124 3 года назад

    Amazingly explained. Thank you :-)

  • @danalex2991
    @danalex2991 2 года назад

    Super lesson!

  • @dominikmaj7088
    @dominikmaj7088 2 года назад

    Great explanation, thank you!

  • @AhmedHassandahabey
    @AhmedHassandahabey 4 года назад

    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

  • @ujwalc9226
    @ujwalc9226 3 года назад

    Awesome tutorial ,thank you ♥️♥️

  • @araceliromero960
    @araceliromero960 3 года назад

    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.

  • @alisafapour9380
    @alisafapour9380 Год назад

    Great explanation

  • @ahmed-samer
    @ahmed-samer 2 года назад

    Great video.
    Thank you.

  • @abdelrhmanahmed1378
    @abdelrhmanahmed1378 3 года назад

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

  • @KrishanKumar-tf5ve
    @KrishanKumar-tf5ve 2 года назад

    To the point explanation , Great thanks :)

  • @szymonpiechutowski2340
    @szymonpiechutowski2340 3 месяца назад

    Wonderful video!

  • @evgenyocean426
    @evgenyocean426 3 года назад

    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!

  • @peterlaidlaw8655
    @peterlaidlaw8655 Год назад

    Thanks; I got it now.

  • @aditmodi
    @aditmodi 3 года назад

    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:8000" ,"my_project.wsgi"]
    it does not work.
    CMD ["gunicorn" ,"-b" ,"0.0.0.0:8000" ,"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.

  • @asigari0711
    @asigari0711 10 месяцев назад

    great video, thank you.

  • @thegreatsilence1081
    @thegreatsilence1081 3 года назад

    So important topic I learned today

  • @Mmustafa-v4j
    @Mmustafa-v4j 3 года назад

    Excellent

  • @starplatinum2008
    @starplatinum2008 3 года назад

    great lesson

  • @lefteriskapsimalis9613
    @lefteriskapsimalis9613 3 года назад

    Well explained. Thank you a lot

  • @mikolajbuchwald
    @mikolajbuchwald 2 года назад

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

  • @StrangeIndeed
    @StrangeIndeed 3 года назад +1

    great explanation. Thanks c:

  • @davidbohadana8274
    @davidbohadana8274 3 года назад

    Great lesson, thanks mate!

  • @monkgreensky2429
    @monkgreensky2429 3 года назад

    super informative video thanks man.

  • @muhammedabuodeh9310
    @muhammedabuodeh9310 2 года назад

    great video! subscribed!

  • @muralidhar40
    @muralidhar40 2 года назад

    Very good.

  • @aashayamballi
    @aashayamballi 4 года назад +1

    Thank you 😊

  • @shubhamsharma-fs7dc
    @shubhamsharma-fs7dc 2 года назад

    Thank you

  • @boriscreativespace
    @boriscreativespace 3 года назад +1

    spasibo bratan

  • @raysilitonga8548
    @raysilitonga8548 2 года назад

    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.

  • @SE420
    @SE420 3 года назад

    You are the best

  • @everardosanchez
    @everardosanchez 3 года назад +4

    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.

  • @asimabusallam3147
    @asimabusallam3147 3 года назад

    very helpful

  • @alejandroalemanhernandez4071
    @alejandroalemanhernandez4071 3 года назад

    Great video, mate!

  • @chetansoni2795
    @chetansoni2795 3 года назад

    It was a great tutorial

  • @ditithaqi
    @ditithaqi 3 года назад

    Thank you life saver

  • @probhakarsarkar2430
    @probhakarsarkar2430 3 года назад

    best video!

  • @chenchaowang8863
    @chenchaowang8863 3 года назад

    thanks!

  • @sammychafiqui1817
    @sammychafiqui1817 3 года назад

    Love this thanks a lot

  • @rasimatics
    @rasimatics 3 года назад

    Awesome 👍👍👍

  • @mehdikamani8004
    @mehdikamani8004 3 года назад

    Realy enjoyed the video