This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Add RateLimit middleware using TokenBucket algorithm #557
Open
LaPetiteSouris
wants to merge
8
commits into
flyteorg:master
Choose a base branch
from
LaPetiteSouris:feat-rate-limit
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on May 16, 2023
-
Signed-off-by: TungHoang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 271bc9f - Browse repository at this point
Copy the full SHA 271bc9fView commit details -
Signed-off-by: TungHoang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f8daf7 - Browse repository at this point
Copy the full SHA 9f8daf7View commit details -
Signed-off-by: TungHoang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b7fb81 - Browse repository at this point
Copy the full SHA 2b7fb81View commit details -
Signed-off-by: TungHoang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 808ec45 - Browse repository at this point
Copy the full SHA 808ec45View commit details -
Add lastAccess timestamp test for RateLimiter
Signed-off-by: TungHoang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 260e71d - Browse repository at this point
Copy the full SHA 260e71dView commit details -
Add timestamp unit test for RateLimiter
Signed-off-by: TungHoang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9585fb - Browse repository at this point
Copy the full SHA e9585fbView commit details -
Use sync.Map to avoid contention on RateLimiter
Signed-off-by: TungHoang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6061035 - Browse repository at this point
Copy the full SHA 6061035View commit details -
Remove global lock in RateLimitStore
Signed-off-by: TungHoang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfaf183 - Browse repository at this point
Copy the full SHA dfaf183View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.