python - 用于生产的 Gunicorn max_requests

标签 python gunicorn

如果我对生产服务器使用 gunicorn max_requests 设置,对性能有什么影响吗?

最佳答案

是也不是。要看。重启 worker 会消耗资源。但是价格也不会太高。另一方面,如果你有内存泄漏,那么它可以让你节省内存。从而有效提高性能。

关于python - 用于生产的 Gunicorn max_requests,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24655713/

相关文章:

python - 如何使用Python计算文本文档中的唯一单词(没有特殊字符/大小写干扰)

python - 没有 NAN 值的标签编码

python - 如何忽略Rollbar中的404异常?

python - 如何在gunicorn中查看python应用程序的错误

django - Gcloud 应用部署失败使用 python+django+gunicorn + worker 启动失败

python - 为什么 Unicorn/Gunicorn 提供静态内容的速度很慢?

python - 如何使用 Gunicorn 和 Varnish 运行 Flask?

python - 如何将格式化数字转换为常规数字(不带逗号或小数)

python - 如何在sklearn中获得随机森林中的决策函数

django - 在 Digital ocean 上部署 Django、Gunicorn、Nginx、Virtualenv 出现 502 Bad Gateway & Gunicorn 无法读取 key