会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xybaby
竹杖芒鞋轻胜马,谁怕?一蓑烟雨任平生
博客园
首页
新随笔
联系
管理
订阅
2017年2月10日
gunicorn geventworker 解析
摘要: 在前面的文章曾介绍过gunicorn的syncworker,本文介绍其中一种asyncworker:GeventWorker。类图如下: 可见GeventWorker重载了init_process(这个方法是Worker唯一暴露给外界的接口),源码如下: 1 def init_process(sel
阅读全文
posted @ 2017-02-10 09:18 xybaby
阅读(4539)
评论(0)
推荐(1)
编辑
公告