推荐学习书目
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
awang
V2EX  ›  Python

忍不住问下大家的web应用环境是如何配置的

  •  
  •   awang · Jan 16, 2013 · 3785 views
    This topic created in 4890 days ago, the information mentioned may be changed or developed.
    这么做是基于怎样的考量?

    看tornado和webapp2的文档是可以直接处理请求的,


    def main():
    from paste import httpserver
    httpserver.serve(app, host='127.0.0.1', port='8080')


    还需要和apache或nginx配合使用吗
    3 replies    1970-01-01 08:00:00 +08:00
    cloudzhou
        1
    cloudzhou  
       Jan 16, 2013 via Android
    前端主要是为了路由和静态文件
    hartnett
        2
    hartnett  
       Jan 17, 2013
    后端用tornado多开几个进程,前端用nginx反向代理到不同的端口上。
    chon
        3
    chon  
       Jan 17, 2013 via Android   ❤️ 1
    tornado本身就是个web server,其他Python框架如Flask和Django自带的测试服务器性能就不见得能满足要求了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2709 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:06 · PVG 19:06 · LAX 04:06 · JFK 07:06
    ♥ Do have faith in what you're doing.