Skip to content
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

consider exposing worker_connections as a config setting #46

Open
lukesmurray opened this issue Jun 17, 2021 · 0 comments
Open

consider exposing worker_connections as a config setting #46

lukesmurray opened this issue Jun 17, 2021 · 0 comments

Comments

@lukesmurray
Copy link

Meinheld reads | gunicorn config worker_connections. The default value for worker-connections is 1000. Maybe consider exposing this setting for tuning and explain that the maximum number of concurrent requests is workers * worker-connections. For applications which access a database understanding that you may be requesting a large number of simultaneously connections could be important! I mistakenly believed that max concurrent requests was 2 * num_cpu_cores + 1 when it is in fact (2 * num_cpu_cores + 1) * 1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant