gateway
gateway copied to clipboard
Socket options SO_SNDBUF and SO_RCVBUF support
Description:
Envoy will handle massive connections when used as L4 proxy. Setting the SO_SNDBUF and SO_RCVBUF socket options helps to limit the memory usage on each connection. So it would be nice to have these options in the APIs.
[optional Relevant Links:]
For downstream, Envoy has a socket_options in the listener config, https://www.envoyproxy.io/docs/envoy/v1.29.0/api-v3/config/listener/v3/listener.proto#config-listener-v3-listener
For upstream, Envoy has a socket_options in the upstream_bind_config field of the cluster config, https://www.envoyproxy.io/docs/envoy/v1.29.0/api-v3/config/cluster/v3/cluster.proto#config-cluster-v3-cluster
relates to https://github.com/envoyproxy/gateway/issues/2600
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
How about adding socket options array to ClientTrafficPolicy and BackendTrafficPolicy, for setting socket options in xDS listener and xDS cluster, to limit kernel socket's memory consumption.
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
@arkodg is this fixed?
@arkodg is this fixed?
No, this feature's api is still not defined. If we should do, I can work on this.
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
/assign
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
reopen this one since lack of implementation