I am using gunicorn to run a simple HTTP server1 using e.g. 8 sync workers (processes). For practical reasons I am interested in knowing how gunicorn distributes incoming requests between these workers.
Assume that all requests take the same time to complete.
Is the assignment random? Round-robin? Resource-based?
The command I use to run the server:
gunicorn --workers 8 bind 0.0.0.0:8000 main:app
1 I'm using FastAPI but I believe this is not relevant for this question.