Похожие чаты

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 ответов

29 просмотров

"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

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта