用户访问频率控制ratelimit,不同于网关级限流(包括go.uber.org/ratelimit漏桶限流以及github.com/juju/ratelimit令牌桶限流),本限流方案为业务级限流,适用于平台运营中,精细化的按单个用户,按IP等限流,为业内rdeis滑动窗口限流方案的纯GO替代方案,并且支持持久化(可选),可定期把历史数据备份到本地磁盘,程序重启也可保留之前的访问记录
-
Updated
Jan 8, 2024 - Go
用户访问频率控制ratelimit,不同于网关级限流(包括go.uber.org/ratelimit漏桶限流以及github.com/juju/ratelimit令牌桶限流),本限流方案为业务级限流,适用于平台运营中,精细化的按单个用户,按IP等限流,为业内rdeis滑动窗口限流方案的纯GO替代方案,并且支持持久化(可选),可定期把历史数据备份到本地磁盘,程序重启也可保留之前的访问记录
A request limiter based on the Leaky Bucket algorithm
The library for working with Haravan APIs, use for public and private app properly. The library base on ShopifySharp.
Ruby on Rails app to provide a leaky bucket service
Add a description, image, and links to the leakybucket topic page so that developers can more easily learn about it.
To associate your repository with the leakybucket topic, visit your repo's landing page and select "manage topics."