yudeguang / ratelimit

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

Date Created 2020-01-02 (4 years ago)
Commits 51 (last one 5 months ago)
Stargazers 90 (0 this week)
Watchers 3 (0 this week)
Forks 22
License mit
Ranking

RepositoryStats indexes 534,880 repositories, of these yudeguang/ratelimit is ranked #292,090 (45th percentile) for total stargazers, and #399,187 for total watchers. Github reports the primary language for this repository as Go, for repositories using this language it is ranked #14,466/23,907.

Star History

Github stargazers over time

Watcher History

Github watchers over time, collection started in '23

Recent Commit History

13 commits on the default branch (master) since jan '22

Yearly Commits

Commits to the default branch (master) per year

Issue History

Languages

The only known language in this repository is Go

updated: 2024-06-17 @ 07:56am, id: 231383308 / R_kgDODcqhDA