From the course: Flask Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

WSGI servers and how they work

WSGI servers and how they work

From the course: Flask Essential Training

Start my 1-month free trial

WSGI servers and how they work

- [Instructor] Now before we go ahead and walk through the steps of deploying our project I want to talk about something that gets thrown around all the time but you might not have great understanding of, and that is WSGI, which is short for web server gateway interface. WSGI is essentially a protocol for Python applications in order to serve websites in a uniform manner. Now that was a whole lot of words, let's talk about what that means practically. So within WSGI you have essentially frameworks and servers. Some examples of Python frameworks are going to be Flask, or Django. And some examples of servers are going to be things like Gunicorn, and uWSGI. And essentially what WSGI allows is to say if we have some sort of Python framework that wants to ultimately serve webpages, if it follows the WSGI format that means that any Python framework you choose can work with any compatible WSGI server, like Gunicorn, uWSGI, and…

Contents