UWSGI安装与使用

http://blog.csdn.net/chenggong2dm/article/details/43937433

http://blog.csdn.net/orangleliu/article/details/47080999

http://www.nowamagic.net/academy/detail/1330328

http://blog.csdn.net/watsy/article/details/8693032

WSGI is the Web Server Gateway Interface.

It is a specification for web servers and application servers to communicate with web applications

(though it can also be used for more than that)

WSGI是一种Web服务器网关接口。它是一个Web服务器(如nginx)与应用服务器(如uWSGI服务器)通信的一种规范。

uWSGI

uWSGI是一个Web服务器,它实现了WSGI协议、uwsgi、http等协议。

Nginx中HttpUwsgiModule的作用是与uWSGI服务器进行交换。

要注意 WSGI / uwsgi / uWSGI 这三个概念的区分。 (注意大小的不同)

  • WSGI看过前面小节的同学很清楚了,是一种通信协议。
  • uwsgi同WSGI一样是一种通信协议。
  • 而uWSGI是实现了uwsgi和WSGI两种协议的Web服务器。

uwsgi协议是一个uWSGI服务器自有的协议

,它用于定义传输信息的类型(type of information),每一个uwsgi packet前4byte为传输信息类型描述,它与WSGI相比是两样东西。

原文地址:https://www.cnblogs.com/zengkefu/p/5514936.html