-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[WIP] RateLimitPolicy sketch #666
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
Closed
reisenberger
wants to merge
27
commits into
App-vNext:v723-or-v730
from
reisenberger:reisenberger-rateLimiterSketch
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
271cfd7
Add core RateLimiter implementations
reisenberger 7d70287
Add example async TResult rate-limiter policy implementation
reisenberger 6aa1e2a
Add example syntax
reisenberger 8354e6d
Make the retryAfterFactory take Timespan as an input parameter!
reisenberger cba0b51
Initial LockFreeTokenBucketRateLimiterTests
reisenberger 193b356
Tidy BulkheadSpecsHelper
reisenberger 5496e66
Factor out test helpers
reisenberger 4b17e56
Factor out common tests; add tests on lock-based rate limiter
reisenberger bfc3251
Allow for slow-running on CI servers
reisenberger 8fbb193
Add tests on full bucket capacity
reisenberger d1c7ec8
Fix RateLimitRejectedException
reisenberger 416c6ff
Remove unused configuration overloads
reisenberger fcaf1ac
Introduce a factory for obtaining the preferred rate-limiter implemen…
reisenberger ebd8a56
Pull some test helper methods into a common base-class
reisenberger c7af7e4
Add first specs on async policy syntax
reisenberger a2f6566
Add full set of specs on rate-limit policies thus far
reisenberger c92cb6b
Add tests on retryAfterFactory
reisenberger 1532500
Add tests on context passed to retryAfterFactory
reisenberger 56fea85
Add async non-generic syntax and specs
reisenberger 182c635
Improve code layout
reisenberger 2a1c508
Add sync rate-limit policies
reisenberger fd609ad
Add initial rate-limit doco; bump to v7.2.0
reisenberger 0121b3d
Improve bulkhead doco in readme
reisenberger e061d50
Minor expressivity refinements
reisenberger db47862
Neaten bulkhead tests commentary
reisenberger daa42cb
Control visibility of IRateLimiter components
reisenberger c916be5
Fix non-generic rate-limit tests to be genuinely non-generic
reisenberger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix RateLimitRejectedException
- Loading branch information
commit d1c7ec8a75a25c6b23f3660f9c51f40539be1194
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.