envoyproxy / envoyproxy/gateway

Socket options SO_SNDBUF and SO_RCVBUF support

Aperta
#2,670 12 commenti 0 reazioni 1 assegnatario Rivendicata da @aoledk Vedi su GitHub
kind/enhancement stale
Lingua principale
Go
Stelle
3k
Fork
864
Merge medio
2g 2h
PR unite (30g)
140

Descrizione

*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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.