-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[on hold, waiting for gunicorn release] Review gunicorn/OS load-balancing and --reuse-port
option
#1937
Comments
Takes from a deeper review: A single trivial endpoint ( As illustrated in the issues of the previous message, gunicorn does NOT introduce any load balancing activity but declines responsibility to the operating system scheduler. Testing 5000 calls with 12 workers on a local PC (ubuntu22) we observed that:
Further considerations must be made:
No Fix
With Fix
|
More on this (@tcompa): In the current state (no patch), all sockets are on the same port. In this situation, the OS contacts the different sockets with non-homogeneous frequencies. By adding the gunicorn patch (see previous comment) and the Example current state:
Example with patch and
|
Current TLDR:
|
--reuse-port
option
For the moment this is just a placeholder with relevant links:
The text was updated successfully, but these errors were encountered: