Skip to content

v0.13.208

Choose a tag to compare

@zalando-robot zalando-robot released this 30 May 11:15
57b41e3

Changes

Implements cluster leaky bucket rate limit filter (#1590)
The clusterLeakyBucketRatelimit filter implements ratelimiting meter variant of Leaky Bucket algorithm
and uses Redis as a storage. Leaky Bucket algorithm is also known as Generic cell rate algorithm.
Prior art
uses optimistic locking i.e. two queries (get and set) to the storage per request
script, uses Redis time, microsecond-only precision, floating point, divisions and rounding.
basic rate limiter as a counter,
since v8 uses lua script implementation from rwz.
This implementation uses Redis lua script and makes single Redis query per request.

Docker image

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

docker run -it registry.opensource.zalan.do/teapot/skipper:v0.13.208 skipper --help
# arm64
docker run -it registry.opensource.zalan.do/teapot/skipper-arm64:v0.13.208 skipper --help
# arm v7 32bit
docker run -it registry.opensource.zalan.do/teapot/skipper-armv7:v0.13.208 skipper --help