Open pradeepkumar-buku opened 1 year ago
Hi, Is there any way to implement a spring cloud gateway request rate limiter in such a way that it can rate-limit request in different time-units such as minutes, hours , days.
Not currently. It would be a whole new implementation on the redis side.
Good to have feature. For a workaround, below is what we have implemented in my org:
{ "replenishRate": "1", "burstCapacity": "600", "requestedTokens": "6" }
The above is close to 100 request per minute
but is not exact due to implementation of Lua script.