I have been working on implementing rate limiter in Java. Following is my approach.
I have used \'sliding window with counters\' technique to implement this rate limi