WSGI protocol and its impact on the server, wsgi protocol server

Source: Internet
Author: User

WSGI protocol and its impact on the server, wsgi protocol server

The following content is my personal learning experience. If you have any questions about my point of view, please leave a message and I will learn from Daniel modestly.

 

The full name of WSGI is web service gateway interface. WSGI is a protocol specification that describes the communication between web service and web application, rather than a server, an API, or a module.

To implement the WSGI protocol, web service and web application must be implemented. Currently, the Protocol frameworks running on WSGI include FLASK, DJANGO, and TORANDO.

The WSGI protocol must contain two parts: web service and web application. The implementation principle of the client and server is as follows:

The WSGI application receives the request forwarded by the server, processes the request, and returns the processing result to the server. The application can contain multiple stack-based middleware (middlewares). These middleware must implement both server and application,

Therefore, it can be adjusted between the WSGI server and the WSGI application: for the server, middleware acts as the application, and for the application, middleware acts as the server.

As long as the web service and web application implement the WSGI protocol at the same time, different web services can be combined with the same web application to form a server, different web applications can be

Service is combined into a server.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.