我想知道,大家用nginx+uwsgi跑python还是用lighttpd+FastCGI

2012-07-14 20:41:50 +08:00
 7469616e
另外我用的是VPS 512内存,debian 6.0
7065 次点击
所在节点    Python
21 条回复
ahu
2012-07-14 20:42:36 +08:00
我觉得还是前者吧
phuslu
2012-07-14 20:48:00 +08:00
我们 nginx+gevent 和 gunicron+gevent 跑 python
yoyicue
2012-07-14 20:49:09 +08:00
推荐 gunicron
7469616e
2012-07-14 20:49:19 +08:00
@phuslu 嗯哼,我去google一下 看看有没有相关的配置资料
7469616e
2012-07-14 20:53:24 +08:00
@yoyicue 囧 ,在google上搜索gunicron gevent各种英文 头疼的一米啊~~~
7469616e
2012-07-14 21:12:51 +08:00
@yoyicue 亲,大概是这样的嘛?nginx(proxy) + gunicorn +framework ????
7469616e
2012-07-14 21:19:20 +08:00
@phuslu 坑爹啊,你居然打错了 应该是gunicorn
chairo
2012-07-14 21:20:42 +08:00
我用的第一个……
7469616e
2012-07-14 21:51:04 +08:00
@chairo 亲,有相关的配置文档嘛?我很感兴趣
iiduce
2012-07-14 21:54:38 +08:00
nginx+uwsgi 记得看过一个老外的各种方案性能对比,这种是最好的(linux系统下)。
linnchord
2012-07-14 21:57:41 +08:00
nginx+uwsgi和nginx+gunicorn都可以,方便快捷,性能相差不大。
FastCGI还是算了吧,古董了算是。
gevent除非确定业务或性能有特别需求,否则没必要。
okidogi
2012-07-14 22:04:29 +08:00
推荐nginx+gunicorn, instagram就在用,说明性能还不错。一个简单的教程:
A Django setup using Nginx and Gunicorn: http://senko.net/en/django-nginx-gunicorn/
chairo
2012-07-14 22:38:03 +08:00
@7469616e uwsgi和nginx的wiki上就有相关资料的。我自己的配置得明天晚上才能发出来,现在在老家,电脑没ftp ssh啥的
kojp
2012-07-15 10:10:18 +08:00
nginx+FastCGI 目前用的这个。
ivanlee
2012-07-15 10:45:05 +08:00
nginx+uwsgi
7469616e
2012-07-15 11:29:52 +08:00
@okidogi 嗯哼~,我去看看
7469616e
2012-07-15 11:30:22 +08:00
@chairo 我等着你油亲~~~
chairo
2012-07-16 09:08:17 +08:00
7469616e
2012-07-16 10:13:33 +08:00
@chairo 亲,能给我留一个gtalk或者qq,之类的联系方式嘛?
chairo
2012-07-16 11:24:25 +08:00
@7469616e QQ65130604

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/42358

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX