open-consul/proto/pbpeering
Dan Upton 0a0534a094
perf: remove expensive reflection from xDS hot path (#14934)
Replaces the reflection-based implementation of proxycfg's
ConfigSnapshot.Clone with code generated by deep-copy.

While load testing server-based xDS (for consul-dataplane) we discovered
this method is extremely expensive. The ConfigSnapshot struct, directly
or indirectly, contains a copy of many of the structs in the agent/structs
package, which creates a large graph for copystructure.Copy to traverse
at runtime, on every proxy reconfiguration.
2022-10-14 10:26:42 +01:00
..
deep-copy.sh perf: remove expensive reflection from xDS hot path (#14934) 2022-10-14 10:26:42 +01:00
peering.deepcopy.go perf: remove expensive reflection from xDS hot path (#14934) 2022-10-14 10:26:42 +01:00
peering.gen.go Add remote peer partition and datacenter info. 2022-10-13 10:37:41 -05:00
peering.go Add remote peer partition and datacenter info. 2022-10-13 10:37:41 -05:00
peering.pb.binary.go Add remote peer partition and datacenter info. 2022-10-13 10:37:41 -05:00
peering.pb.go Add remote peer partition and datacenter info. 2022-10-13 10:37:41 -05:00
peering.proto Add remote peer partition and datacenter info. 2022-10-13 10:37:41 -05:00
peering.rpcglue.pb.go Add ACL enforcement to peering endpoints 2022-07-25 09:34:29 -06:00
peering_grpc.pb.go proto: add package prefixes for all proto files where it is safe (#13735) 2022-07-13 11:03:27 -05:00
peering_oss.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00