miracle2k / miracle2k/python-multiprocessing

mp_webserver.py on windows

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with mp_webserver.py, especially mp_webserver.runpool(...) and its HTTPServer calls. Compare that approach with the described waitress deployment and consider the stated Windows and performance context. Done would require a clear, measured recommendation or an explicitly scoped change, neither of which is provided here.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, python
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.