带有Webpy的Python 2.7-flup或modwsgi? [英] Python 2.7 with Webpy - flup or modwsgi?

查看:62
本文介绍了带有Webpy的Python 2.7-flup或modwsgi?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定我应该选择哪两个.肿块或modwsgi.

I am unsure which of the two I should go for. Flup or modwsgi.

Flup似乎没有多少文档,甚至没有多少人添加到代码中.另一方面,modwsgi似乎得到了广泛的支持.

Flup seems to have very little documentation and even less people adding to the code. modwsgi on the other hand seems to be widely supported.

我只想开始运行Webpy环境,以便可以在线使用Python脚本.但是这件事阻止了我前进.有什么建议?

I just want to start running my webpy environmental so that I can utilize Python scripts online. But this thing stops me from moving ahead. Any suggestions?

推荐答案

我使用nginx和uwsgi来部署自己的web.py应用程序,它看起来比apache + mod_wsgi更快并且消耗的内存更少,但是设置并不那么容易.我必须运行超级用户才能确保所有uwsgi进程都已启动.

I use nginx and uwsgi to deploy my own web.py apps, seems faster and consumes less ram than apache+mod_wsgi, the setup is not as easy though. I have to run supervisord to ensure that all uwsgi processes are on.

不要使用flup,我认为它被认为是部署python网络应用程序的一种过时的方式.

Don't use flup, I think its considered to be a bit outdated way of deploying python web apps.

这篇关于带有Webpy的Python 2.7-flup或modwsgi?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆