contour icon indicating copy to clipboard operation
contour copied to clipboard

Lowering Envoy's cluster per-connection buffer to 32kb

Open davecheney opened this issue 6 years ago • 4 comments

Envoy allocates 1mb per connection to a backend pod.

https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/cds.proto#cluster

It is not clear if it allocates it all in one go, or it is an upper limit. In either case 1Mb is a lot. I think it should be lowered to something like 64kb.

davecheney avatar Aug 29 '19 07:08 davecheney

I've updated the title to reflect the recommendations from #1375.

youngnick avatar Oct 21 '19 03:10 youngnick

From the Envoy documentation, this is a soft limit, not a hard limit, so we should be fine to set this to 32KiB.

youngnick avatar Oct 25 '19 00:10 youngnick

@youngnick agreed.

davecheney avatar Oct 25 '19 00:10 davecheney

Based on https://github.com/projectcontour/contour/pull/1797#pullrequestreview-306974148 I think this setting doesn't do what I thought it did. Moving to the backlog for further investigation.

davecheney avatar Oct 25 '19 04:10 davecheney