【发布时间】:2013-03-20 03:17:26
【问题描述】:
在 gevent 模式下运行 gunicorn 时,是否已经自动应用了使 threadlocals greenlet-locals 的 monkey patches (particularly those for threadlocals) described here?
(我正在运行 django,目前使用 threadlocals 对大型查询结果进行一些快速缓存——我知道 gevent/greenlet 使用传统线程的替代模型,因此我很担心)。
【问题讨论】:
-
同样的问题。谢谢!
标签: python django gevent gunicorn greenlets