gateway
gateway copied to clipboard
api: add socket buffer limit field in ClientTrafficPolicy and BackendTrafficPolicy
What this PR does / why we need it:
Allow user to configure socket buffer limit for both incoming socket and outgoing socket to control memory consumed by Envoy, especially useful for user case of long-lived L4 proxy for massive connections.
It's different from existing connection buffer limit api which is used to control user space memory consumption, and this new api is used to control kernel memory consumption.
Which issue(s) this PR fixes:
Fixes #2670
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 67.66%. Comparing base (
194a7ea) to head (da342fe).
Additional details and impacted files
@@ Coverage Diff @@
## main #3724 +/- ##
==========================================
+ Coverage 67.63% 67.66% +0.03%
==========================================
Files 184 184
Lines 22546 22546
==========================================
+ Hits 15248 15255 +7
+ Misses 6214 6210 -4
+ Partials 1084 1081 -3
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
/retest
/retest
/retest
/retest
/retest