Похожие чаты

Hi All Have a small doubt. As per official documentation, https://fastapi.tiangolo.com/pt/deployment/server-workers/ and

https://github.com/tiangolo/fastapi/discussions/7439 you don't need gunicorn in AKS. But in some other places they say "You can use Gunicorn (or also Uvicorn) as a process manager with Uvicorn workers to take advantage of multi-core CPUs, to run multiple processes in parallel."

So if we create azure container apps with multiple cores do we need gunicorn or not? I am not so familiar with container apps.

4 ответов

15 просмотров

"Not strictly necessary" Consider Gunicorn when you have a computationally heavy FastAPI application on an Azure Container App with 4 cores. And You want to ensure maximum CPU utilization. So that, you can use Gunicorn to manage multiple Uvicorn workers could help distribute the load effectively.

Bose-George Автор вопроса
Satya 🇮🇳
"Not strictly necessary" Consider Gunicorn when y...

In our fast api, inside one end point we are calling multiple soap api calls to an external apim there were are using multi threading.( Threadpool executor). The container app configuration is 4core 8 gb in dev

Bose George
In our fast api, inside one end point we are calli...

In this case, if you use gunicorn, it will: Enhance paralallism, Handle False tolerance. (If a SOAP call severely hangs, Gunicorn can manage worker processes, preventing a single stalled call from blocking your entire endpoint.)

Satya 🇮🇳
In this case, if you use gunicorn, it will: Enhanc...

For an IO bounded task multiprocress may not enhance performance

Похожие вопросы

Обсуждают сегодня

вопрос: кто как решает вопрос с динамической подгрузкой скриптов для отдельных страниц с включенным turbo router?
Sergei Toroptsev
25
Great news for DePIN fans 🫵🏻 Synternet’s $NOIA token is now supported by ioPay, a multichain wallet from IoTeX! 🫡 https://x.com/synternet_com/status/1792589757471408572?s=46
Emilis
16
Сообщение* в закодированном виде. То есть, просто сделать sendMessage?text=Привет бла-бла! не получится, надо в HEX переводить, и добавлять процент, типа такого: sendMessage?t...
КТ315
21
You ever fuck a fat chick from behind and you’re missing out on a solid inch or two of penetration because of her fat ass?
Genghis Jhan
11
@LGCYMan @JustinKKW Q/A List 1. this part confuses me on #8: "From there, a bridge between erc20 LGXY and erc20 LGXY will be out once that swap is closed." does this mean ...
Sig | LGCY | BattleVerse L1 | BitWin
1
А случайно нет ли в паскале штатной возможности передать указатель и количество туда где array of в качестве аргумента?
zamtmn
25
Nice, похоже из-за portage torbrowser словил ошибку The proxy server is refusing connections. Поэтому видимо все рекомендуют с сайта .desktop качать, но а как же тогда компиля...
Ari
10
> комьюнити я бы не судил по этому чату. Как мы видели по статам просмотров нескольких телеговских постов, то в чате их набивается 30-40 или даже выше, когда как общаются акти...
Constantin F.
4
Anyone here suffers from unexplained aural migraines, who would be up for talking for a bit? Doesn't *have* to be aural, but I am not asking about headaches, I mean actual mi...
Martin Rys
58
How do I reach the grant committee for inquiries?
Darlington Gospel
11
Карта сайта