hnlq715 opened a new pull request #3300: URL: https://github.com/apache/apisix/pull/3300
### What this PR does / why we need it: <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here. --> Details can be found in #3211 ### Pre-submission checklist: * [x] Did you explain what problem does this PR solve? Or what new features have been added? * [] Have you added corresponding test cases? * [] Have you modified the corresponding document? * [x] Is this PR backward compatible? **If it is not backward compatible, please discuss on the [mailing list](https://github.com/apache/apisix/tree/master#community) first** Before === apisix: 1 worker + 200 upstream + no plugin --- ``` + wrk -d 5 -c 16 http://127.0.0.1:9080/hello Running 5s test @ http://127.0.0.1:9080/hello 2 threads and 16 connections Thread Stats Avg Stdev Max +/- Stdev Latency 1.65ms 1.53ms 32.40ms 97.65% Req/Sec 5.26k 663.77 8.41k 79.21% 52974 requests in 5.11s, 211.22MB read Requests/sec: 10369.65 Transfer/sec: 41.35MB + sleep 1 + wrk -d 5 -c 16 http://127.0.0.1:9080/hello Running 5s test @ http://127.0.0.1:9080/hello 2 threads and 16 connections Thread Stats Avg Stdev Max +/- Stdev Latency 1.82ms 1.99ms 30.06ms 96.26% Req/Sec 5.10k 845.05 6.21k 81.00% 50759 requests in 5.00s, 202.39MB read Requests/sec: 10149.88 Transfer/sec: 40.47MB ``` apisix: 1 worker + 200 upstream + no plugin + ewma --- ``` + wrk -d 5 -c 16 http://127.0.0.1:9080/hello Running 5s test @ http://127.0.0.1:9080/hello 2 threads and 16 connections Thread Stats Avg Stdev Max +/- Stdev Latency 2.95ms 1.55ms 27.52ms 93.33% Req/Sec 2.84k 490.54 6.22k 88.12% 28488 requests in 5.10s, 113.60MB read Requests/sec: 5585.89 Transfer/sec: 22.27MB + sleep 1 + wrk -d 5 -c 16 http://127.0.0.1:9080/hello Running 5s test @ http://127.0.0.1:9080/hello 2 threads and 16 connections Thread Stats Avg Stdev Max +/- Stdev Latency 3.01ms 0.86ms 23.33ms 85.91% Req/Sec 2.68k 228.62 3.11k 68.00% 26713 requests in 5.00s, 106.52MB read Requests/sec: 5338.53 Transfer/sec: 21.29MB ``` After === apisix: 1 worker + 200 upstream + no plugin + ewma --- ``` + wrk -d 5 -c 16 http://127.0.0.1:9080/hello Running 5s test @ http://127.0.0.1:9080/hello 2 threads and 16 connections Thread Stats Avg Stdev Max +/- Stdev Latency 1.85ms 0.88ms 21.68ms 94.33% Req/Sec 4.48k 562.97 5.48k 68.00% 44599 requests in 5.00s, 177.83MB read Requests/sec: 8912.87 Transfer/sec: 35.54MB + sleep 1 + wrk -d 5 -c 16 http://127.0.0.1:9080/hello Running 5s test @ http://127.0.0.1:9080/hello 2 threads and 16 connections Thread Stats Avg Stdev Max +/- Stdev Latency 1.73ms 693.40us 16.92ms 95.53% Req/Sec 4.73k 434.96 5.49k 74.51% 48052 requests in 5.09s, 191.60MB read Requests/sec: 9440.28 Transfer/sec: 37.64MB ``` ---------------------------------------------------------------- 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: [email protected]
