-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
Currently the worker_connections
directive is set to 1000
which is a low number when worker_processes
is set to 1
as NGINX would only accept 1000
concurrent connections.
We could increase the setting to maybe 2^14
which is 16384
or 2^15
which is 32768
in order to facilitate benchmarks. I would suggest 2^14
to be in alignment with TechEmpower's benchmark: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Lua/openresty/nginx.conf
Since it's not easy to come up with a number that fits all cases, for production use-cases it's best to provide a different api-gateway-config
directory that would tune these setting as per the expected workload.
Metadata
Metadata
Assignees
Labels
No labels