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

请问 ubuntu+apache2+wsgi mod,并发量一般能到多少?

  •  
  •   fff333 · Jun 14, 2017 · 2340 views
    This topic created in 3281 days ago, the information mentioned may be changed or developed.
    我 i7 3460,12G 内存,直接返回一个简单的 json,最终也就是 200 qps,哪位大神有类似的测试结果呢?
    2 replies    2017-06-15 08:04:02 +08:00
    ixiaohei
        1
    ixiaohei  
       Jun 14, 2017
    qps 并不能代表并发,另外这个应该去看配置。一般支持的最大并发都是可以配置。我是 java 技术栈。只知道 nginx 默认 1024,tomcat7 默认 bio 连接器 200,tomcat8 默认 nio 连接器 1w 并发。另外都是可以调,还有一个是操作系统文件数限制也会限制并发。
    fff333
        2
    fff333  
    OP
       Jun 15, 2017 via Android
    @ixiaohei 换了 gunicorn 压到了 1000qps,不知道 mod wsgi 有啥问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3530 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 10:43 · PVG 18:43 · LAX 03:43 · JFK 06:43
    ♥ Do have faith in what you're doing.