You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, uivicorn loop is probably using 1 core. Gunicorn with 1 worker may use 2 (1 for the arbiter , another for the worker). This depends on how the system will balance the tasks.
Hi, uivicorn loop is probably using 1 core. Gunicorn with 1 worker may use 2 (1 for the arbiter , another for the worker). This depends on how the system will balance the tasks.
Thanks @benoitc. Do you mean that the uivicorn loop uses 1 of the 3 cpu cores, and Gunicorn with 1 worker uses the remaining 2 cores? Does that mean that Gunicorn with 1 worker needs at least 2 CPUs?
Why can a single worker process use multiple cores in a k8s environment? According to my understanding, one python process can only use one core?
I test the program using the following config in k8s cluster:
The text was updated successfully, but these errors were encountered: