是否可以让 gunicorn 使用多个工作线程/线程池?

时间:2021-03-05 04:59:56

标签: python threadpool gunicorn worker

是否可以运行 gunicorn 使其具有多个工作线程/线程池?

给定传入请求,我想根据请求的某些属性(例如 URL)将其分配给多个工作线程/线程池之一。

gunicorn 是否支持这种功能?如果没有,是否有支持这种灵活性的替代 Python WSGI HTTP 服务器?

0 个答案:

没有答案
相关问题