yudeguang / ratelimit

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

Date Created 2020-01-02 (5 years ago)
Commits 51 (last one about a year ago)
Stargazers 101 (0 this week)
Watchers 2 (0 this week)
Forks 24
License mit
Ranking

RepositoryStats indexes 630,031 repositories, of these yudeguang/ratelimit is ranked #304,100 (52nd percentile) for total stargazers, and #480,376 for total watchers. Github reports the primary language for this repository as Go, for repositories using this language it is ranked #14,984/27,406.

Star History

Github stargazers over time

1201201001008080606040402020002021202120222022202320232024202420252025

Watcher History

Github watchers over time, collection started in '23

3333332.52.522222220232023Jul '23Jul '2320242024Jul '24Jul '2420252025

Recent Commit History

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

1414121210108866442200Jul '22Jul '2220232023Jul '23Jul '2320242024Jul '24Jul '2420252025

Yearly Commits

Commits to the default branch (master) per year

2525202015151010550020202020202120212022202220242024

Issue History

Total Issues
Open Issues
Closed Issues
332.52.5221.51.5110.50.500Nov '23Nov '23Dec '23Dec '2320242024Feb '24Feb '24Mar '24Mar '24Apr '24Apr '24May '24May '24Jun '24Jun '24Jul '24Jul '24Aug '24Aug '24Sep '24Sep '24Oct '24Oct '24Nov '24Nov '24Dec '24Dec '2420252025Feb '25Feb '25Mar '25Mar '25

Languages

The only known language in this repository is Go

GoGo

updated: 2025-03-19 @ 02:14am, id: 231383308 / R_kgDODcqhDA