https://github.com/russellluo/ratelimiter
A distributed token-bucket rate limiter backed by Redis.
https://github.com/russellluo/ratelimiter
Last synced: about 1 year ago
JSON representation
A distributed token-bucket rate limiter backed by Redis.
- Host: GitHub
- URL: https://github.com/russellluo/ratelimiter
- Owner: RussellLuo
- Created: 2017-06-09T11:42:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T14:42:49.000Z (about 9 years ago)
- Last Synced: 2025-04-07T07:36:49.542Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 19
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ratelimiter
A distributed token-bucket rate limiter backed by Redis.
## Algorithm
See https://en.wikipedia.org/wiki/Token_bucket.
## Usage
For usage and examples, see the [Godoc][1].
[1]: https://godoc.org/github.com/RussellLuo/ratelimiter