consider exposing worker_connections as a config setting
lukesmurray opened this issue · comments
Luke Murray commented
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