$ 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
Dependencies
lua ~> 5.1