开发者

Tornado or Django works with CGI?

Tornado is a webserver + framework like Django but for real-time features.

On my server I don't have a python module or wsgi module so I thought CGI. Is there a way to get Torna开发者_StackOverflow社区do ( or Django ) works by using CGI folder ? If yes, Could you explain me how do I do that ?


Main feature of Tornado is that it is high performance web-server written in Python, for creating web applications using Python programming language.

Running Tornado as CGI application negates the very reason it exists, because running CGI scripts is expensive in terms of performance, and most probably there is no way to run Tornado as CGI script.


flup provides a CGI-to-WSGI adapter, but you really should consider using something like FastCGI instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜