V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
nicksite
V2EX  ›  Python

SAE 这个平台关于 Python 的部署只有 WSGI 吗?

  •  
  •   nicksite ·
    henryluki · 2014-12-25 18:40:30 +08:00 · 2284 次点击
    这是一个创建于 3410 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题,

    看过文档,可以用tornado的异步部署的方式,但是没试过。

    想用gevent来加速应用,但是socket listen和blind没开放。

    所以想问问大家,平时用SAE部署与开发python,有哪些尝试与经验可以分享一下呢?
    4 条回复    2014-12-30 14:01:56 +08:00
    wuyadong
        1
    wuyadong  
       2014-12-30 13:16:46 +08:00
    建议还是用wsgi吧,用tonado的异步服务器,效果差不多,而且有时候莫名其妙的错误...
    这里有一个Demo: https://github.com/JobsDong/zhihudaily
    nicksite
        2
    nicksite  
    OP
       2014-12-30 13:27:53 +08:00
    @wuyadong 是的,用tornado worker只能用tornado框架写app。btw,为何大家都如此钟情于“知乎日报”网页版?
    wuyadong
        3
    wuyadong  
       2014-12-30 13:51:14 +08:00
    @nicksite 因为比较简单,新手只能鲁这个啊...
    nicksite
        4
    nicksite  
    OP
       2014-12-30 14:01:56 +08:00
    @wuyadong 谦虚了吧!〔撒手不信〕
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   947 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 20:36 · PVG 04:36 · LAX 13:36 · JFK 16:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.