-
Notifications
You must be signed in to change notification settings - Fork 307
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
Socket options SO_SNDBUF and SO_RCVBUF support #2670
Comments
relates to #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? |
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 |
Description:
Envoy will handle massive connections when used as L4 proxy. Setting the
SO_SNDBUF
andSO_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-listenerFor upstream, Envoy has a
socket_options
in theupstream_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-clusterThe text was updated successfully, but these errors were encountered: