An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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