Conversation
|
Oh, this looked simple enough to give it a spin in a fair comparison against real workloads after "just" adding logging + keepalive.. but apparently I do not have 3.14 on Debian yet. Monitoring for later.. |
Do you think it makes sense to add logging and keepalive support now? |
Not yet, I guess. Hoping that most of missing bits and pieces (incl ssl) can be added with less worker-specific code later, as the rest of Gunicorn receives some much-needed refactoring. |
benoitc
left a comment
There was a problem hiding this comment.
The idea is interresting as it brings isolation. Do you want to complete it ?
Following changes are needed:
- Add access logging support (critical for production use)
- Add future tracking and connection counting (see review)
- Improve graceful shutdown handling (see review)
- Add integration tests
- Update documentation
Also please update the PR with the current limitatisn you may have found.
Introduce a multi-interpreter–based worker that can handle multiple requests within the same process, each running in a separate interpreter, without sharing a GIL. This allows different interpreters to run in true parallelism.
This does not require a no-GIL build of Python, and it does not require users to handle thread-safe code at the Python level.
Features are missing:
pre_request/post_requesthooks