Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor RateLimitController: improve accuracy and support maxQps threshold > 1000 #2951

Merged
merged 2 commits into from
Nov 30, 2022

Commits on Nov 14, 2022

  1. Polish AssertUtil: add assertNotNull and assertTrue

    Signed-off-by: Eric Zhao <[email protected]>
    sczyh30 committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    42621b3 View commit details
    Browse the repository at this point in the history
  2. Refactor RateLimiterController: improve accuracy and support maxQps >…

    … 1000
    
    * Rename to ThrottlingController
    * Improve accuracy: use nanoseconds when necessary and support maxQps threshold > 1000 (i.e. wait < 1ms)
    
    Signed-off-by: Eric Zhao <[email protected]>
    sczyh30 committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    d51d194 View commit details
    Browse the repository at this point in the history