rate_limit_quota: Quota based rate limiting, part 1#22135
rate_limit_quota: Quota based rate limiting, part 1#22135yanavlasov merged 72 commits intoenvoyproxy:mainfrom
Conversation
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
|
/unassign @mattklein123 Initial commit that just adds back the docs as part of the implementation. Not ready for review yet. |
envoyproxy#22116) Revert "build(deps): bump orjson from 3.6.7 to 3.7.7 in /tools/base (envoyproxy#22112)" This reverts commit 2f8b986. Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: Tianyu Xia <tyxia@google.com>
This reverts commit 3af90c1. Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
|
CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to |
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
|
/unassign @mattklein123 Initial commit that just adds back the docs as part of the implementation. Not ready for review yet. |
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Tianyu Xia <tyxia@google.com>
|
@yanavlasov PTAL. Thanks! I have addressed the review comments. The CI doc failure in this PR will be resolved once PR #22539 is merged (That PR is also under review now). |
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
|
/retest The CI failure should has nothing to do with this PR |
|
Retrying Azure Pipelines: |
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Thanks for information, @phlax. There was an accidental change to coverage file in my last merge. I just reverted it. Let see if CD/CI is happy this time. |
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
First part of quota-based rate limiting feature. The majority of this PR is to lay out the basic framework and shape of major components with unit test coverage, other functionalities (e.g., periodically usage report, thread local cache, quota assignment, etc) will be added in next PRs. This PR includes:
Filter factory, filter creation and registration, filter configuration, etc.
gRPC stream start and close, message send and receive, callback for the client and filter interaction, etc
value_matchfield from the configon_no_matchsupport (empty bucketId withnoassignmentBehaviorfor now for illustration purpose, will bemodified in the next PRs)
Generates the
BucketIdvia either static method (string_value) or dynamic method (custom_valuewithtyped_config).
Use
BucketIdas the key with customized hash/equal function. Will change to thread local storageNote to reviewers:
In sprit of small PRs and making review easier, I plan to divide the whole implementation into several parts. Hence, I
some TODOs that will be addressed in next PRs
Signed-off-by: Tianyu Xia tyxia@google.com