Version: v2.15.x LTS
Customizing connection limits
Customizing connection limits
Role: system programmer
By default, the API Gateway accepts up to 100 concurrent connections per route, and 1000 total concurrent connections. Any further concurrent requests are queued until the completion of an existing request. The API Gateway is built on top of Apache HTTP components that require these two connection limits for concurrent requests.
Use the following procedure to change the number of concurrent connections.
- Open the file
zowe.yaml
. - Find or add the property
components.gateway.server.maxConnectionsPerRoute
and set the value to an appropriate positive integer. - Find or add the property
components.gateway.server.maxTotalConnections
and set the value to an appropriate positive integer.