You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
memory: CA and client certificate bytes are duplicated per destination and per IR snapshot #10069
On a gateway where many backends validate upstream connections against the same CA, the envoy-gateway control plane holds several GB of duplicated certificate bytes.
This is the control-plane counterpart to #9489, which covers the same deployment shape on the Envoy side.
Each DestinationSetting gets its own copy of the CA bundle. The profile retains 7,708 bundles (~180 MB) for what is a handful of distinct CAs.
The watchable map deep-copies the whole ir.Xds once per store and once per subscriber, and a slow subscriber's append-only snapshot.Updates backlog retains every generation. That is about 20 live copies of each bundle in this profile.
The bytes are immutable in practice: the translator aliases them straight out of the Secret, and the xDS translator only reads them into protobuf InlineBytes. The copy() in the generated deep-copy functions buys nothing.
Activity
github-actions commentedon Oct 22, 2026
This issue has been automatically marked as stale because it has not had activity in the last 30 days.