envoyproxy / envoyproxy/gateway

Socket options SO_SNDBUF and SO_RCVBUF support

Offen
#2,670 12 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @aoledk Auf GitHub ansehen
kind/enhancement stale
Vorherrschende Sprache
Go
Sterne
3k
Forks
864
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
140

Beschreibung

*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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.