V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
gaoyadianta
V2EX  ›  Python

flask_socketio+gunicorn 的方案 worker 只能设置为 1,那是不是还得再加个 nginx

  •  
  •   gaoyadianta · Oct 9, 2019 · 3143 views
    This topic created in 2392 days ago, the information mentioned may be changed or developed.
    rt,flask_socketio 的文档指出,使用 gunicorn 的时候,worker 只能设置为 1,那我需要使用 websocket 又想提高系统的并发性能,是不是只能再前边加 nginx
    蛋疼...
    5 replies    2019-10-24 14:20:39 +08:00
    gaoyadianta
        1
    gaoyadianta  
    OP
       Oct 10, 2019
    请求大佬关注
    Latin
        2
    Latin  
       Oct 11, 2019
    k8s
    gaoyadianta
        3
    gaoyadianta  
    OP
       Oct 12, 2019
    @Latin 刚开始做 web 相关的东西,能不能稍微详细介绍下
    aniulee
        4
    aniulee  
       Oct 16, 2019
    是的,再加一层 nginx 即可
    kayseen
        5
    kayseen  
       Oct 24, 2019
    最近看 socket 一头雾水, 能麻烦推荐下参考资料吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1136 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 18:12 · PVG 02:12 · LAX 11:12 · JFK 14:12
    ♥ Do have faith in what you're doing.