extension: add http bandwidth limit filter#3
Merged
nitgoy merged 29 commits intobandwidthlimitprotofrom Dec 16, 2020
Merged
Conversation
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
Signed-off-by: Nitin <nigoyal@microsoft.com>
nitgoy
added a commit
that referenced
this pull request
Dec 16, 2020
Add bandwidth limit filter core functionality and UTs. The filter smoothens the flow of data in both direction up to the specified bandwidth limit. Signed-off-by: Nitin <nigoyal@microsoft.com> Signed-off-by: Nitin Goyal <nrk.goyal@gmail.com>
nitgoy
added a commit
that referenced
this pull request
May 6, 2021
* Add bandwidthlimit filter skeleton * fix build * Add core logic * fix build * minor fix * Add bandwidthlimit filter skeleton * fix build * Add core logic * fix build * minor fix * minor * add generated configs * final build fixes * config and test related changes Signed-off-by: Nitin <nigoyal@microsoft.com> * fix spellings Signed-off-by: Nitin <nigoyal@microsoft.com> * update generated config Signed-off-by: Nitin <nigoyal@microsoft.com> * move configs to v3alpha * bandwidth limit filter config Signed-off-by: Nitin <nigoyal@microsoft.com> Signed-off-by: Nitin Goyal <nrk.goyal@gmail.com> * Address comments: remove enforce threshold Signed-off-by: Nitin <nigoyal@microsoft.com> Signed-off-by: Nitin Goyal <nrk.goyal@gmail.com> * move proto to alpha Signed-off-by: Nitin <nigoyal@microsoft.com> Signed-off-by: Nitin Goyal <nrk.goyal@gmail.com> * bandwidth limit filter config Signed-off-by: Nitin <nigoyal@microsoft.com> * Address comments: remove enforce threshold Signed-off-by: Nitin <nigoyal@microsoft.com> * change limit field to optional Signed-off-by: Nitin <nigoyal@microsoft.com> Signed-off-by: Nitin Goyal <nrk.goyal@gmail.com> * delete v3 file Signed-off-by: Nitin <nigoyal@microsoft.com> * generated configs Signed-off-by: Nitin <nigoyal@microsoft.com> * add spelling Signed-off-by: Nitin <nigoyal@microsoft.com> * Add v4alpha proto Signed-off-by: Nitin <nigoyal@microsoft.com> * add generated v4alpha configs Signed-off-by: Nitin <nigoyal@microsoft.com> * fix test and build Signed-off-by: Nitin <nigoyal@microsoft.com> * fix config tests Signed-off-by: Nitin <nigoyal@microsoft.com> * Add tests Signed-off-by: Nitin <nigoyal@microsoft.com> * fix tests Signed-off-by: Nitin <nigoyal@microsoft.com> * fix format Signed-off-by: Nitin <nigoyal@microsoft.com> * Add bi-directional test Signed-off-by: Nitin <nigoyal@microsoft.com> * proto format Signed-off-by: Nitin <nigoyal@microsoft.com> * remove soft limit config Signed-off-by: Nitin <nigoyal@microsoft.com> * extension: add http bandwidth limit filter (#3) Add bandwidth limit filter core functionality and UTs. The filter smoothens the flow of data in both direction up to the specified bandwidth limit. Signed-off-by: Nitin <nigoyal@microsoft.com> Signed-off-by: Nitin Goyal <nrk.goyal@gmail.com> * make token bucket conditionally thread-safe and add comment for stream rate limiter Signed-off-by: Nitin <nigoyal@microsoft.com> * fix reset Signed-off-by: Nitin <nigoyal@microsoft.com> * remove some absl guards Signed-off-by: Nitin <nigoyal@microsoft.com> * update filter Signed-off-by: Nitin Goyal <nigoyal@microsoft.com> * update proto Signed-off-by: Nitin Goyal <nigoyal@microsoft.com> * add docs Signed-off-by: Nitin Goyal <nigoyal@microsoft.com> * proto and doc fixes Signed-off-by: Nitin Goyal <nigoyal@microsoft.com> * test fix Signed-off-by: Nitin Goyal <nigoyal@microsoft.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Commit Message: adds bandwidth limit filter core functionality and UTs
Additional Description: the filter smoothens the flow of data in both direction up to the specified bandwidth limit.
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]