-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
udp_proxy: added per packet load balancing possibility #18605
udp_proxy: added per packet load balancing possibility #18605
Conversation
Hi @michalmaka, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
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.
Thanks in general this makes sense to me. Some high level comments to get started. Thank you!
/wait
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.
Looks like it's heading on the right track, thanks. Please merge main and address the template issue and then I can look again.
/wait
Signed-off-by: Michal Maka <[email protected]>
…unhealthy host Signed-off-by: Michal Maka <[email protected]>
c58a593
to
0f2efb2
Compare
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
…s base class was factored out Signed-off-by: Michal Maka <[email protected]>
Signed-off-by: Michal Maka <[email protected]>
Signed-off-by: Michal Maka <[email protected]>
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.
Thanks looking good. A couple of other high level questions.
/wait
Signed-off-by: Michal Maka <[email protected]>
Signed-off-by: Michal Maka <[email protected]>
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.
Thanks generally LGTM. Just a few small comments and please revert any change that isn't needed anymore due to the simpler implementation.
/wait
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.
Thanks LGTM with one remaining small nit/question.
/wait-any
Can you fix DCO? /wait |
170fde8
to
2047fcf
Compare
Co-authored-by: Matt Klein <[email protected]> Signed-off-by: Michal Maka <[email protected]>
Signed-off-by: Michal Maka <[email protected]>
Signed-off-by: Michal Maka <[email protected]>
2047fcf
to
a0fd8b1
Compare
Done |
/retest |
Retrying Azure Pipelines: |
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.
Thanks, nice work!
thanks! |
Signed-off-by: Michał Mąka [email protected]
Commit Message: udp_proxy: added per packet load balancing possibility which can be enabled via specifying 'use_per_packet_load_balancing' field
Additional Description:
This feature adds possibility to have per packet load balancing in UDP proxy. Currently, there is kind of
sticky session
, which means that once data was forwarded to specific upstream host, the host is also used for subsequent messages if timeout does not occur.By default, current behavior is used, but if
use_per_packet_load_balancing
configuration flag is set to true, on each data receival, new upstream host is selected and receives that data.Risk Level: Medium
Testing: unit test, manual testing
Docs Changes: Introduced description of the feature and a way it can be enabled
Release Notes: Added to current.rst
Platform Specific Features: N/A