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

feat: support global ratelimiter #56

Merged
merged 25 commits into from
Mar 20, 2024
Merged

Conversation

xuqingyun
Copy link
Collaborator

@xuqingyun xuqingyun commented Mar 20, 2024

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind feature

What this PR does / why we need it:

The original rate limiting maintains a fixed rate limiting threshold on each instance, but due to the long-lived HTTP2 connections between the client and KubeGateway, the API requests on each instance are unbalance, resulting in lower accuracy of rate limiting. We support a solution of sharing a global rate limiting token, providing precise rate limiting on a global scale.

Which issue(s) this PR fixes:

Fixes #60

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@xuqingyun xuqingyun requested a review from xu282934741 March 20, 2024 12:38
@xuqingyun xuqingyun merged commit 6da2668 into kubewharf:main Mar 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Global ratelimiter
1 participant