SylviaBABY commented on code in PR #7035: URL: https://github.com/apache/apisix/pull/7035#discussion_r871953887
########## docs/en/latest/benchmark.md: ########## @@ -126,3 +126,15 @@ then run wrk: ```shell wrk -d 60 --latency http://127.0.0.1:9080/hello ``` + +For more reference on how to run the benchmark test, you can see this [PR](https://github.com/apache/apisix/pull/6136) and this [script](https://gist.github.com/membphis/137db97a4bf64d3653aa42f3e016bd01). + +**Note**: if you want to run the benchmark with a large number of connections, for example: + +```shell +./wrk -t200 -c5000 -d30s http://127.0.0.1:9080/hello +``` + +You may have to update the **keepalive** config in the [conf/config-default.yaml](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L242). + +Connections exceeding this number will become short connections. For more doc: http://nginx.org/en/docs/http/ngx_http_upstream_module.h Review Comment: ```suggestion Connections exceeding this number will become short connections. For more details you can refer to [Module ngx_http_upstream_module](http://nginx.org/en/docs/http/ngx_http_upstream_module.html) ``` ########## docs/en/latest/benchmark.md: ########## @@ -126,3 +126,15 @@ then run wrk: ```shell wrk -d 60 --latency http://127.0.0.1:9080/hello ``` + +For more reference on how to run the benchmark test, you can see this [PR](https://github.com/apache/apisix/pull/6136) and this [script](https://gist.github.com/membphis/137db97a4bf64d3653aa42f3e016bd01). + +**Note**: if you want to run the benchmark with a large number of connections, for example: + +```shell +./wrk -t200 -c5000 -d30s http://127.0.0.1:9080/hello +``` + +You may have to update the **keepalive** config in the [conf/config-default.yaml](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L242). + +Connections exceeding this number will become short connections. For more doc: http://nginx.org/en/docs/http/ngx_http_upstream_module.h Review Comment: ```suggestion Connections exceeding this number will become short connections. For more details you can refer to [Module ngx_http_upstream_module](http://nginx.org/en/docs/http/ngx_http_upstream_module.html). ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
