Skip to content

v0.21.199

Compare
Choose a tag to compare
@zalando-robot zalando-robot released this 19 Sep 15:50
7b74d47

Changes

filters/auth: cache yaml config (#3225)

  • filters/auth: benchmark jwtMetrics filter creation

  • filters/auth: cache yaml config

Cache parsed yaml config for jwtMetrics and oauthTokeninfoValidate
filters to avoid parsing the same configuration over and over
when these filters are appended as default filters to all routes.

                          │     HEAD~1     │                 HEAD                 │
                          │     sec/op     │    sec/op     vs base                │
JwtMetrics_CreateFilter-8   30777.00n ± 6%   18.45n ± 11%  -99.94% (p=0.000 n=10)

                          │    HEAD~1    │                 HEAD                 │
                          │     B/op     │    B/op      vs base                 │
JwtMetrics_CreateFilter-8   24.33Ki ± 0%   0.00Ki ± 0%  -100.00% (p=0.000 n=10)

                          │   HEAD~1   │                HEAD                │
                          │ allocs/op  │ allocs/op  vs base                 │
JwtMetrics_CreateFilter-8   180.0 ± 0%    0.0 ± 0%  -100.00% (p=0.000 n=10)

Multiarch Docker image

Multiarch Docker image is available in Github's docker registry:

docker run -it ghcr.io/zalando/skipper:v0.21.199 skipper --help

Docker image

Docker image is available in Zalando's Open Source registry:

docker run -it registry.opensource.zalan.do/teapot/skipper:v0.21.199 skipper --help