You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/08/18 01:46:55 UTC
[GitHub] [apisix] lijiapengsa commented on issue #2067: request help: 我在测试发现有偶尔的404出现
lijiapengsa commented on issue #2067:
URL: https://github.com/apache/apisix/issues/2067#issuecomment-675202081
I just reconfigured it according to the method you gave, and now apisix can work normally.
Surprisingly, the performance of apisix is much higher than that of envoy. Below is my stress test data.
```bash
[root@k8s ~]# wrk -t32 -c100 -d30s http://a.com
Running 30s test @ http://a.com
32 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 0.94ms 2.54ms 207.31ms 96.79%
Req/Sec 4.52k 315.81 8.90k 74.60%
4321169 requests in 30.10s, 782.78MB read
Requests/sec: 143563.56
Transfer/sec: 26.01MB
[root@k8s ~]#
[root@k8s ~]# wrk -t32 -c100 -d30s http://a.com
Running 30s test @ http://a.com
32 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.44ms 8.69ms 215.93ms 99.48%
Req/Sec 4.52k 393.63 7.40k 81.72%
4318110 requests in 30.10s, 782.23MB read
Requests/sec: 143461.94
Transfer/sec: 25.99MB
[root@k8s ~]#
[root@k8s ~]# wrk -t32 -c500 -d30s http://a.com
Running 30s test @ http://a.com
32 threads and 500 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.67ms 2.21ms 209.41ms 87.16%
Req/Sec 14.17k 2.22k 23.46k 69.84%
13577794 requests in 30.10s, 2.40GB read
Requests/sec: 451089.88
Transfer/sec: 81.72MB
[root@k8s ~]#
[root@k8s ~] wrk -t32 -c500 -d30s http://a.com
Running 30s test @ http://a.com
32 threads and 500 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.64ms 2.17ms 208.72ms 87.14%
Req/Sec 14.24k 2.15k 21.73k 69.16%
13644324 requests in 30.10s, 2.41GB read
Requests/sec: 453301.34
Transfer/sec: 82.12MB
```
On the same server, envoy can only reach up to 320,000
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org