Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 535 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 535 Bytes

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