@Aayush_Kumar_Gupta Sorry for the delay
- Do we store rate limiting couters in local or redis ?
Yes, the rate limits counters are stored in Redis when using transactional and non-transactional rate limiters. For transactional (both redis rolling and sentinel), you can observe the prefixed key rate-limiter-<key-hash>
just like quotas in your associated Redis. However, for non-transactional, the key name is random and hard to detect.
For distributed rate limiters, no centralized Redis is used and the counters are are stored locally in memory.
- How OAuth2 can be used as a rate limiting key ?
Have you checked out our documentation on OAuth2.0