-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Description
As per the your article, the request is added to the queue even if the request isn't allowed. But in the implementation you check if the queue size is less than capacity before adding.
Your LeakyBucket and Sliding Window Log implementations are almost the same, or am I missing something? The class accepts two parameters and queue polling is the same.
Also, in leakyBucket, queue polling should be done by the server attached to rate limit?
Metadata
Metadata
Assignees
Labels
No labels