V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
dabingya
V2EX  ›  问与答

gunicorn 使用 gevent 问题

  •  
  •   dabingya · 2018-11-25 12:41:45 +08:00 · 1108 次点击
    这是一个创建于 2000 天前的主题,其中的信息可能已经有所发展或是发生改变。

    请教一个问题:gunicorn 使用 gevent,启动 worker 10 个,但是现在有个请求 /abc/ 需要 3 分钟,然后我同时请求这个 /abc 最多 5 次,其他的请求就等待了...

    bubuhere
        1
    bubuhere  
       2018-11-25 20:22:30 +08:00 via iPhone
    worker 是有 timeout 的,是不是被 master 干掉了。这前五次请求有成功的吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2188 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:04 · PVG 09:04 · LAX 18:04 · JFK 21:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.