Illustration drawn by RepoMasters from the repo’s ID and its language color. Credits
PrototypeCommon

yudeguang/ratelimit

用户访问频率控制ratelimit,不同于网关级限流(包括go.uber.org/ratelimit漏桶限流以及github.com/juju/ratelimit令牌桶限流),本限流方案为业务级限流,适用于平台运营中,精细化的按单个用户,按IP等限流,为业内rdeis滑动窗口限流方案的纯GO替代方案,并且支持持久化(可选),可定期把历史数据备份到本地磁盘,程序重启也可保留之前的访问记录

Owner
yudeguang (personal account)
Stars
Stars: 102
Forks
Forks: 24
Language
Go
License
MIT
Created
2020
Topics
ratelimittokenbucketleakybucketratelimiter
Tier
Prototype (100 to 249 ★) What this tier means
View on GitHub

Nearby in Go

All Go repos