Releases: wchaws/serverless-image-handler
Releases · wchaws/serverless-image-handler
v6.7.1-api-adapter-20230911
What's Changed
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
v6.7.0-api-adapter-20230703
What's Changed
- feat: add threshold by @wchaws in #164
- Support memory cache by @wchaws in #166
- Cache is implemented with https://github.com/koajs/cash and https://github.com/isaacs/node-lru-cache library
Benchmark test report
Full Changelog: v6.6.0-api-adapter-20230227...v6.7.0-api-adapter-20230703
v6.6.0-api-adapter-20230227
What's Changed
Full Changelog: v6.5.6-api-adapter-1204...v6.6.0-api-adapter-20230227
v6.5.6-api-adapter-1204
What's Changed
Full Changelog: v6.5.5-api-adapter-1114...v6.5.6-api-adapter-1204
v6.5.5-api-adapter-1114
v6.5.4-api-adapter-1031
What's Changed
- chore: upgrade sharp to v0.31.1 by @wchaws in #145
- fix: yarn run:docker.dev error by @wchaws in #146
- refactoring and fix bug using sharp 0.31.0 version's new features by @tingxin in #147
- use shadow as the opacity value by @tingxin in #148
- chore: add mkhtml by @wchaws in #149
- support crop if the watermark exceed the background image by @tingxin in #150
- docs: update readme by @wchaws in #151
- Dev2 by @wchaws in #152
Full Changelog: v6.5.3-api-adapter-1017...v6.5.4-api-adapter-1031
v6.5.3-api-adapter-1017
What's Changed
Full Changelog: v6.5.2-api-adapter-0929...v6.5.3-api-adapter-1017
v6.5.2-api-adapter-0929
What's Changed
Full Changelog: v6.5.1-api-adapter-0929...v6.5.2-api-adapter-0929
v6.5.1-api-adapter-0929
What's Changed
Full Changelog: v6.5.0-api-adapter-0906...v6.5.1-api-adapter-0929
v6.5.0-api-adapter-0906
What's Changed
Full Changelog: v6.4.3-api-adapter-0823...v6.5.0-api-adapter-0906