Web server --WSGI

1. What is WSGI?

  WSGI full name of the Web Server Gateway Interface, also known as Python Web Server Gateway Interface, started in 2003, the definition of common interface specifications Web server and server-side program for the Python language.

2. Role: Python is a common protocol server program connecting to the Web server, as FIG.

 

 

 

 

 Analysis shows:

  As can be seen from the figure above, the WSGI interface is divided into two: one is an interface with a Web server, the server is an interface with a program; WSGI Server

And Web server interfaces include uwsgi, fast cgi and so on. Developers of server-side program paid little attention to the details of this part of the server-side developers need to be more

Details to understand WSGI server and programming interface.

Note: Although WSGI design goal is to connect a standard Web server (Nginx, Apache) and server-side program, but it can also be used as a Web service itself

Run. However, due to performance limitations, the server generally only used when testing.

Guess you like

Origin www.cnblogs.com/kaka6k66k/p/11649447.html