Damn, how I love this video. I watched it 6 months ago and it was sooo revealing. I'm watching it again now and it's even more revealing. Can't wait until next year.
Thanks for the explanation and example code on how the WSGI and web server are working together. The code demonstrate how they both work together step byt step in a very clear way.
The only presentation that makes sense. Unassuming and well organized, perfect for someone like me who just started using Django. I have been using PHP all my life but now I appreciate python so much. Thanks to you Ryan. :D
I learned it hard way! I went over Django and unicorn source code to understand it. But this is a gem. I wish I could have found this video earlier. Inspired from this talk I rebuild a WSGI server and applications side. I added few more features like handling GET request with query params and POST request etc,. Code is pretty well documented and followed the similar design. Will try to post the link of GitHub repo once push it there.
Awesome talk, there is just so much content on the web that tries to explain this topics but somehow end up missing the point entirely. The actual simple implementation/example is what helped me the most, thank you!
im getting this error in the second request: Traceback (most recent call last): File "server.py", line 31, in request_http = parse_http(conn.recv(1024).decode('utf-8')) OSError: [Errno 9] Bad file descriptor
Try: ```def start_application(port): with socket.socket() as sock: sock.bind(('localhost', port)) print(f"Listening for connections on port {port}...") sock.listen(1) while True: with sock.accept()[0] as conn: req = parse(conn.recv(1024).decode('utf-8')) print(f"Request: [[{req}]]") if not req: break stat, res = index(req) conn.sendall(fmt(stat, res).encode('utf-8'))```
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.
Some people are built to teach!
Totally!
Totally!
Totally!
Totally!
Totally!
This is the single most important presentation I have ever watched.
Wow this was the talk I never knew I needed... holy shit. This speaker is amazing. Thank you..
Such an amazing presentation. Thank you so much for that breakdown. Been using Django and Flask for years and took WSGI for granted.
Either this video is very underrated or nobody bothers himself thinking how the heck request is handled in Jango or in Flask in the background
or herself
Damn, how I love this video. I watched it 6 months ago and it was sooo revealing. I'm watching it again now and it's even more revealing. Can't wait until next year.
Holy crap, this was *such* a helpful presentation! Thank you so much!
Amazing. I don't see how any free content can be better than this. One of the best I ever seen.
Thanks for the explanation and example code on how the WSGI and web server are working together. The code demonstrate how they both work together step byt step in a very clear way.
The only presentation that makes sense. Unassuming and well organized, perfect for someone like me who just started using Django. I have been using PHP all my life but now I appreciate python so much. Thanks to you Ryan. :D
I learned it hard way! I went over Django and unicorn source code to understand it. But this is a gem. I wish I could have found this video earlier. Inspired from this talk I rebuild a WSGI server and applications side. I added few more features like handling GET request with query params and POST request etc,. Code is pretty well documented and followed the similar design. Will try to post the link of GitHub repo once push it there.
Awesome talk, there is just so much content on the web that tries to explain this topics but somehow end up missing the point entirely. The actual simple implementation/example is what helped me the most, thank you!
What a brilliant presentation. Love it when people abstract ideas that simply, thank you !
Really Impressed with that breakdown of concepts and the demon.
Amazing work! Its years of work and knowledge summarized in 24 mins (awesome flow)
Brilliantly explained, looking forward to attending the next pycon
Great talk, watching 2nd time after 1 year.
Absolutely wonderful presentation. Loved it.
you make a hard subject simple and understandable, thanks.
Loved the presentation... The exact thing which i wanted... To get to the ROOT level of how Http Reqs are converted in my Django Views...🤔
simply brilliant
Thank you Ryan for amazing presentation.
It's CRAZY. What an incredible presentation
very informative, good for backend development.
this presentation is amazing
Thanks for this useful talk..Hopely more from this stuff in the future.
Excellent presentation. Thank you.
Great Presentation
This talk was fantastic. Thank you
Best explanation about the topic.
Excellent Presentation.
Simply superb presentation 👌🙌
This was a very good presentation.
amazing
Learned a lot from this presentation, thanks :)
Thank's man, that's an explanation I was looking for!
Great presentation Ryan, thanks
Awesome presentation. Thanks.
amazing voice, explaination
soooo awesome!!!
great talk
Well done, Ryan.
This is excellent explanation.
Very good teaching!
But what to do when you can't install the wsgi module. I'm in RHEL8
Ten seconds in and I already like it!
Excellent Presentation
Amazing presentation!! Loved it
this needs more views
This guy is a genius.
I wish I could give a presentation like this in my class
Very nice..I came here because why I don't know what is what when I try to deploy django app in production with apache server...
great video! Now I understand it!
The coolest pycon so far!
Thank you!
Really amazing video. Thanks.
Awesome task, thank you
great talk, thank you!
brilliant talk!
Thanks a lot!!
It is an excellent talk!
Amazing!
great
im getting this error in the second request:
Traceback (most recent call last):
File "server.py", line 31, in
request_http = parse_http(conn.recv(1024).decode('utf-8'))
OSError: [Errno 9] Bad file descriptor
Try:
```def start_application(port):
with socket.socket() as sock:
sock.bind(('localhost', port))
print(f"Listening for connections on port {port}...")
sock.listen(1)
while True:
with sock.accept()[0] as conn:
req = parse(conn.recv(1024).decode('utf-8'))
print(f"Request: [[{req}]]")
if not req:
break
stat, res = index(req)
conn.sendall(fmt(stat, res).encode('utf-8'))```
Thanks a loot man!
Great talk.
Would be better if u have included working of middleware..
How can I thank this guy? :)
Fantastic
heeey did these kool names come from the grandkids of the 60"s hippies on lsd?.....:/ wonderful video thanks...:)
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.
Каеф!
wsgi is not magic, but whisky is :D
Please redo this talk as a musical. kthxbye
I could not understand a thing, :
Wisgi developers are only jealous, thats why they disliked this simplicity
What a fenomemal presenter!!! Geez...