kong-plugin-sliding-window-rate-limiting

This plugin has the same purpose as the [rate-limiting plugin](https://github.com/Kong/kong/tree/master/kong/plugins/), although but this implementation has better accuracy.

$ luarocks install kong-plugin-sliding-window-rate-limiting

summary: This plugin has the same purpose as the rate-limiting plugin, although but this implementation has better accuracy.

Kong rate-limiting plugin has a race condition problem in addition it works with the fixed window algorithm which is less accurate than the sliding window algorithm, which is the algorithm used here.

THis plugin is heavely inspired by the Pull Request Kong/Kong/PR-8227.

NOTE: window_size is ALWAYS in seconds

Versions

0.1.0-1318 days ago3 downloads

Dependencies

lua ~> 5.1

Labels

Manifests