New multiprocess manager #2164
-
https://github.com/abersheeran/zibai/blob/main/src/zibai/multiprocess.py I have been using the multi-process manager in runweb for a while now, and it works really well. If there are plans to optimize uvicorn's current multi-process setup, I would be happy to submit a pull request and contribute my experience to uvicorn. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 6 replies
-
cc @encode/maintainers |
Beta Was this translation helpful? Give feedback.
-
Please do. If you can explain everything on the PR, it would be great. 🙏 |
Beta Was this translation helpful? Give feedback.
-
Chiming in to also hear what is planned and offer advice. I went down this route fairly recently as well. |
Beta Was this translation helpful? Give feedback.
-
is this a replacement for gunicorn + uvicorn? (meaning we could achieve multiple workers better with just uvicorn now?) |
Beta Was this translation helpful? Give feedback.
-
Thanks, will test this to compare performance some moment
…On Wed, May 29, 2024, 10:23 Marcelo Trylesinski ***@***.***> wrote:
Yes.
—
Reply to this email directly, view it on GitHub
<#2164 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGNN2SIKBGKBUVSN2TG7SALZEXJFBAVCNFSM6AAAAAA77I2LM2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TKOJTHAYTI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I only have multiple cpu cores, not cpus itself
…On Wed, May 29, 2024, 19:24 Adrian Garcia Badaracco < ***@***.***> wrote:
Where are you deploying that you have multiple CPUs available?
—
Reply to this email directly, view it on GitHub
<#2164 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGNN2SLH3CD36AI5TZCDOTTZEZIRNAVCNFSM6AAAAAA77I2LM2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TKOJYHA3TK>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@Kludex -- |
Beta Was this translation helpful? Give feedback.
Please do. If you can explain everything on the PR, it would be great. 🙏