推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
7469616e
V2EX  ›  Python

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

  •  
  •   7469616e · Jul 14, 2012 · 8540 views
    This topic created in 5237 days ago, the information mentioned may be changed or developed.
    另外我用的是VPS 512内存,debian 6.0
    21 replies  •  1970-01-01 08:00:00 +08:00
    ahu
    ahu
    Jul 14, 2012
    1
    我觉得还是前者吧
    phuslu
    phuslu
    Jul 14, 2012❤️2
    2
    我们 nginx+gevent 和 gunicron+gevent 跑 python
    yoyicue
    yoyicue
    Jul 14, 2012❤️2
    3
    推荐 gunicron
    7469616e
    7469616e
    OP
    Jul 14, 2012
    4
    @phuslu 嗯哼,我去google一下 看看有没有相关的配置资料
    7469616e
    7469616e
    OP
    Jul 14, 2012
    5
    @yoyicue 囧 ,在google上搜索gunicron gevent各种英文 头疼的一米啊~~~
    7469616e
    7469616e
    OP
    Jul 14, 2012
    6
    @yoyicue 亲,大概是这样的嘛?nginx(proxy) + gunicorn +framework ????
    7469616e
    7469616e
    OP
    Jul 14, 2012
    7
    @phuslu 坑爹啊,你居然打错了 应该是gunicorn
    chairo
    chairo
    Jul 14, 2012
    8
    我用的第一个……
    7469616e
    7469616e
    OP
    Jul 14, 2012
    9
    @chairo 亲,有相关的配置文档嘛?我很感兴趣
    iiduce
    iiduce
    Jul 14, 2012
    10
    nginx+uwsgi 记得看过一个老外的各种方案性能对比,这种是最好的(linux系统下)。
    linnchord
    linnchord
    Jul 14, 2012❤️1
    11
    nginx+uwsgi和nginx+gunicorn都可以,方便快捷,性能相差不大。
    FastCGI还是算了吧,古董了算是。
    gevent除非确定业务或性能有特别需求,否则没必要。
    okidogi
    okidogi
    Jul 14, 2012
    12
    推荐nginx+gunicorn, instagram就在用,说明性能还不错。一个简单的教程:
    A Django setup using Nginx and Gunicorn: http://senko.net/en/django-nginx-gunicorn/
    chairo
    chairo
    Jul 14, 2012
    13
    @7469616e uwsgi和nginx的wiki上就有相关资料的。我自己的配置得明天晚上才能发出来,现在在老家,电脑没ftp ssh啥的
    kojp
    kojp
    Jul 15, 2012
    14
    nginx+FastCGI 目前用的这个。
    ivanlee
    ivanlee
    Jul 15, 2012
    15
    nginx+uwsgi
    7469616e
    7469616e
    OP
    Jul 15, 2012
    16
    @okidogi 嗯哼~,我去看看
    7469616e
    7469616e
    OP
    Jul 15, 2012
    17
    @chairo 我等着你油亲~~~
    chairo
    chairo
    Jul 16, 2012
    18
    7469616e
    7469616e
    OP
    Jul 16, 2012
    19
    @chairo 亲,能给我留一个gtalk或者qq,之类的联系方式嘛?
    chairo
    chairo
    Jul 16, 2012
    20
    @7469616e QQ65130604
    CMGS
    CMGS
    Jul 17, 2012
    21
    gevent+gunicorn+nginx
    确定型业务会换成进程sync模型,嗯
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3915 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 09:45 · PVG 17:45 · LAX 01:45 · JFK 04:45
    ♥ Do have faith in what you're doing.