Skip to content

extension: add http bandwidth limit filter - #3

Merged
nitgoy merged 29 commits into
bandwidthlimitprotofrom
bwprotodev
Dec 16, 2020
Merged

nitgoy merged 29 commits into
bandwidthlimitprotofrom
bwprotodev

Conversation

@nitgoy

@nitgoy nitgoy commented Dec 16, 2020 •

Copy link
Copy Markdown
Owner

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:]

@nitgoy
nitgoy merged this pull request into bandwidthlimitproto Dec 16, 2020
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 <[email protected]>

Signed-off-by: Nitin Goyal <[email protected]>
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 <[email protected]>

* fix spellings

Signed-off-by: Nitin <[email protected]>

* update generated config

Signed-off-by: Nitin <[email protected]>

* move configs to v3alpha

* bandwidth limit filter config

Signed-off-by: Nitin <[email protected]>

Signed-off-by: Nitin Goyal <[email protected]>

* Address comments: remove enforce threshold

Signed-off-by: Nitin <[email protected]>

Signed-off-by: Nitin Goyal <[email protected]>

* move proto to alpha

Signed-off-by: Nitin <[email protected]>

Signed-off-by: Nitin Goyal <[email protected]>

* bandwidth limit filter config

Signed-off-by: Nitin <[email protected]>

* Address comments: remove enforce threshold

Signed-off-by: Nitin <[email protected]>

* change limit field to optional

Signed-off-by: Nitin <[email protected]>

Signed-off-by: Nitin Goyal <[email protected]>

* delete v3 file

Signed-off-by: Nitin <[email protected]>

* generated configs

Signed-off-by: Nitin <[email protected]>

* add spelling

Signed-off-by: Nitin <[email protected]>

* Add v4alpha proto

Signed-off-by: Nitin <[email protected]>

* add generated v4alpha configs

Signed-off-by: Nitin <[email protected]>

* fix test and build

Signed-off-by: Nitin <[email protected]>

* fix config tests

Signed-off-by: Nitin <[email protected]>

* Add tests

Signed-off-by: Nitin <[email protected]>

* fix tests

Signed-off-by: Nitin <[email protected]>

* fix format

Signed-off-by: Nitin <[email protected]>

* Add bi-directional test

Signed-off-by: Nitin <[email protected]>

* proto format

Signed-off-by: Nitin <[email protected]>

* remove soft limit config

Signed-off-by: Nitin <[email protected]>

* 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 <[email protected]>

Signed-off-by: Nitin Goyal <[email protected]>

* make token bucket conditionally thread-safe and add comment for stream rate limiter

Signed-off-by: Nitin <[email protected]>

* fix reset

Signed-off-by: Nitin <[email protected]>

* remove some absl guards

Signed-off-by: Nitin <[email protected]>

* update filter

Signed-off-by: Nitin Goyal <[email protected]>

* update proto

Signed-off-by: Nitin Goyal <[email protected]>

* add docs

Signed-off-by: Nitin Goyal <[email protected]>

* proto and doc fixes

Signed-off-by: Nitin Goyal <[email protected]>

* test fix

Signed-off-by: Nitin Goyal <[email protected]>
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.

1 participant