mirror of https://github.com/status-im/consul.git
e6b55d1d81
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. |
||
---|---|---|
.. | ||
deep-copy.sh | ||
peering.deepcopy.go | ||
peering.gen.go | ||
peering.go | ||
peering.pb.binary.go | ||
peering.pb.go | ||
peering.proto | ||
peering.rpcglue.pb.go | ||
peering_grpc.pb.go | ||
peering_oss.go |