https://github.com/tangaiyun/RedisRateLimiter
Redis Based API Access Rate Limiter
https://github.com/tangaiyun/RedisRateLimiter
java rate rate-limiting redis spring spring-boot
Last synced: 3 days ago
JSON representation
Redis Based API Access Rate Limiter
- Host: GitHub
- URL: https://github.com/tangaiyun/RedisRateLimiter
- Owner: tangaiyun
- Created: 2016-07-19T10:11:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T06:39:10.000Z (almost 4 years ago)
- Last Synced: 2024-04-17T15:49:18.182Z (about 2 years ago)
- Topics: java, rate, rate-limiting, redis, spring, spring-boot
- Language: Java
- Homepage:
- Size: 59.6 KB
- Stars: 83
- Watchers: 6
- Forks: 36
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-java - RedisRateLimiter
README
# RedisRateLimiter
Redis Based Rate limiter (slide window mode)
support control level: Seconds, Minutes, Hours, Days
usage:
please set the configuration of redis, change the content of redis.properties as your real environment.
detail api usage:
please refer to: https://github.com/tangaiyun/RedisRateLimiter/blob/master/RedisRateLimiter/src/test/java/com/tay/RedisRateLimiter/TestRedisRateLimiter.java
for integration with Spring boot, please refer to the project:
https://github.com/tangaiyun/redislimiter-spring-boot