The rate-limiting algorithm that smooths out request bursts better than a fixed window by constantly checking the rate over a moving time period is the Sliding Window Counter algorithm. Rate limiting is a technique that controls the number of requests a client can make to a service within a specific timeframe, preventing abuse, overuse, and denial-of-service attacks. A request burst occurs when a high volume of requests arrives in a very short period. The fixed window algorithm counts requests within a non-overlapping time interval, such as one minute. For instance, if a limit is 100 requests per minute, a new window starts every minute, and the counter rese....
Log in to view the answer