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

诸君在实践中使用 tornado(单点)的 qps 是多少?

  •  
  •   Morriaty · 2017-06-13 15:45:20 +08:00 · 2998 次点击
    这是一个创建于 2510 天前的主题,其中的信息可能已经有所发展或是发生改变。

    不提hello world这种,实际使用场景

    11 条回复    2017-08-05 12:33:50 +08:00
    chenqh
        1
    chenqh  
       2017-06-13 16:42:20 +08:00
    1 分钟 600
    maemual
        2
    maemual  
       2017-06-13 16:46:36 +08:00
    实际使用场景也区别很大啊。。。。。
    zhu327
        3
    zhu327  
       2017-06-14 14:47:23 +08:00
    1200 不能更多了
    Morriaty
        4
    Morriaty  
    OP
       2017-06-14 15:03:17 +08:00
    @zhu327 大致什么场景?
    Morriaty
        5
    Morriaty  
    OP
       2017-06-14 15:03:37 +08:00
    @chenqh 略低 什么场景?
    zhu327
        6
    zhu327  
       2017-06-14 15:13:58 +08:00
    @Morriaty i5 CPU TorMySQL 简单查询

    同时对比过 Openresty, 能有 20 倍
    chenqh
        7
    chenqh  
       2017-06-14 15:16:07 +08:00
    @Morriaty 就是接口啊,当然还没有到最大值
    chenqh
        8
    chenqh  
       2017-06-14 15:17:01 +08:00
    @zhu327 什么配置?单核还是几核,感觉单核应该没有 1200,高并发的话 openresty,或者 golang 应该更高点
    zhu327
        9
    zhu327  
       2017-06-14 18:43:57 +08:00
    @chenqh 单进程

    ab -n10000 -c100 -k
    zhu327
        10
    zhu327  
       2017-06-14 18:47:28 +08:00
    @chenqh
    用我这个 https://github.com/zhu327/greentor 带 django ORM 都有 600,不带 ORM 能到 1200

    i5-4460
    rsj217
        11
    rsj217  
       2017-08-05 12:33:50 +08:00
    以前的服务一分钟 5k-30k,有 db 操作,有三方 api 请求
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2682 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:47 · PVG 18:47 · LAX 03:47 · JFK 06:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.