Skip to content

v6.7.1-api-adapter-20230911

Latest
Compare
Choose a tag to compare
@wchaws wchaws released this 11 Sep 05:13
· 1 commit to master since this release
2e1d62b

What's Changed

  • fix: missing bucket name for cache key by @wchaws in #171

Full Changelog: v6.7.0-api-adapter-20230703...v6.7.1-api-adapter-20230911

Benchmark

Test data:

GET http://<ALB_DOMAIN>/example.jpg?x-oss-process=image/resize,w_100/quality,q_80/auto-orient,0/interlace,1/format,jpg
GET http://<ALB_DOMAIN>/example.jpg?x-oss-process=image/resize,w_101/quality,q_80/auto-orient,0/interlace,1/format,jpg
GET http://<ALB_DOMAIN>/example.jpg?x-oss-process=image/resize,w_102/quality,q_80/auto-orient,0/interlace,1/format,jpg
...
GET http://<ALB_DOMAIN>/example.jpg?x-oss-process=image/resize,w_199/quality,q_80/auto-orient,0/interlace,1/format,jpg

Result:

cat vegeta-urls.txt | vegeta attack -duration=5m -rate=1000/s -timeout=300s -format=http | vegeta report -every 10s
Requests      [total, rate, throughput]         300000, 1000.00, 999.13
Duration      [total, attack, wait]             5m0s, 5m0s, 914.073µs
Latencies     [min, mean, 50, 90, 95, 99, max]  597.335µs, 2.218ms, 1.631ms, 2.423ms, 3.45ms, 7.774ms, 645.699ms
Bytes In      [total, mean]                     974976249, 3249.92
Bytes Out     [total, mean]                     0, 0.00
Success       [ratio]                           99.91%
Status Codes  [code:count]                      200:299740  429:260  
Error Set:
429 Too Many Requests

cat vegeta-urls.txt | vegeta attack -duration=5m -rate=2000/s -timeout=300s -format=http | vegeta report -every 10s
Requests      [total, rate, throughput]         600000, 2000.00, 1994.90
Duration      [total, attack, wait]             5m0s, 5m0s, 682.092µs
Latencies     [min, mean, 50, 90, 95, 99, max]  574.782µs, 1.869ms, 1.233ms, 1.77ms, 1.852ms, 2.593ms, 1.174s
Bytes In      [total, mean]                     1946755246, 3244.59
Bytes Out     [total, mean]                     0, 0.00
Success       [ratio]                           99.74%
Status Codes  [code:count]                      200:598469  429:1531  
Error Set:
429 Too Many Requests