What are the advantages of leaky bucket over sliding window algorithm for API rate limiting?
There are many resources on the Internet that explain each algorithm. But