文章分类 - uwsgi(uWSGI)__Fastcgi,cgi
什么东东?
摘要:http://heipark.iteye.com/blog/1750970What is WSGI ?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服务器)通信的一种规范。
阅读全文
摘要:2.flup:本身是一个使用python写的web服务器软件,它可以接受nginx发来的请求,执行相应的python代码,将结果返回给nginx。flup是Python的FastCGI模块。flup 支持三种 WSGI 服务器/网关,分别为 AJP 1.3 , FastCGI ,和 SCGI 。而对于 flup 支持的这三种 WSGI 服务器/网关, flup 有分别提供了两种不同风格的版本:线程版本和进程版本。这样, flup 实际就支持六种类型的 WSGI 服务器/网关,分别为:flup.server.ajpflup.server.ajp_forkflup.server.fcgiflup.
阅读全文