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
yuyuyu101
V2EX  ›  Python

Wheatserver---C实现的更快的WSGI服务器,一个新的应用服务器框架

  •  
  •   yuyuyu101 ·
    yuyuyu101 · 2013-03-05 23:26:35 +08:00 · 4228 次点击
    这是一个创建于 4066 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Wheatserver来自于构造一个开源的uWSGI轻量级的项目,但随着项目发展,可插拔式的工程构建使得发展为通用应用服务器,分离的模块使得极易构造出适合的应用环境。

    Wheatserver中文概览: http://www.wzxue.com/wheatserver/
    Wheatserver英文部署简介: http://yuyuyu101.github.com/wheatserver/
    Wheatserver的开源: http://github.com/yuyuyu101/wheatserver

    WSGI服务作为Wheatserver的一个模块,与WSGI服务器中性能最强劲的Gevent的性能比较:http://www.wzxue.com/wheatserver%e4%b8%8egevent%e4%bd%9c%e4%b8%bawsgi%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9a%84%e6%80%a7%e8%83%bd%e8%af%84%e6%b5%8b/
    8 条回复    1970-01-01 08:00:00 +08:00
    ggsmd
        1
    ggsmd  
       2013-03-05 23:32:02 +08:00
    打酱油路过 看到c代码骆驼风格立刻无爱 -v-
    est
        2
    est  
       2013-03-05 23:34:33 +08:00
    支持lz

    不过gevent性能比较低。单线程的bjoern可以秒杀gevent,性能是nodejs两倍,也是不满uWSGI的产物
    sivacohan
        3
    sivacohan  
       2013-03-06 00:49:29 +08:00 via Android
    mark之。最近正好打算写个c web frame
    yuyuyu101
        4
    yuyuyu101  
    OP
       2013-03-06 12:58:06 +08:00
    @est bjoern太简陋了,基本只能玩玩,没有生产环境使用的价值
    est
        5
    est  
       2013-03-06 13:41:23 +08:00
    @yuyuyu101 啊哈哈,这货就是wsgi 跑分神器。生产环境其实也没啥神秘的,就没有pid log和unix signal机制。这些通过改源码可以做到。
    crossmaya
        6
    crossmaya  
       2013-03-06 14:09:12 +08:00
    我不知道用它能干什么。。。
    yuyuyu101
        7
    yuyuyu101  
    OP
       2013-03-06 17:40:08 +08:00
    @crossmaya 作WSGI的服务器,而且完全可以暴露在局域网外。并且可以作其他应用协议的框架
    kran
        8
    kran  
       2013-03-06 17:48:44 +08:00
    学习了!!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3288 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 14:10 · PVG 22:10 · LAX 07:10 · JFK 10:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.