miracle2k / miracle2k/python-multiprocessing

mp_webserver.py on windows

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
7
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

Hello!

Not really an issue as such but a question. I'm on windows10, py39, and my current webserver runs behind an nginx reverse proxy, using webserver waitress, and heavy tasks handled by celery. It's doing the job, but not as efficient as a pure multiproc ws like gunicorn would do.

I'm not very good programmer so can't really run profiling, so I was wondering whether you have checked the approach in mp_webserver vs a pure waitress approach?
And actuallym would it perhaps work better replacing HTTPServer calls by waitress calls in mp_webserver.runpool(...) ?

Thank you very much in advance for your thoughts.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 mp_webserver.py 开始,重点查看 mp_webserver.runpool(...) 及其对 HTTPServer 的调用。将这种方法与所描述的 waitress 部署进行比较,并考虑所述的 Windows 和性能背景。要视为完成,需要给出明确且经过测量的建议,或明确限定范围的更改;但这里两者都没有提供。

由索引模型根据 Issue 内容生成。

评估

技术栈
nginx, python
领域
backend, performance
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
15/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。