主要模块
- balancer: establish gRPC connections to etcd clusters.
- API client to sends RPCs to server
error handler
历任版本
etcdv3-grpc1.0
使用tcp与所有endpoint保持连接,一直使用一个endpoint直到它close,比较耗费资源
etcdv3-grpc1.7
只与一个endpoint保持连接,直到它close,但是会使用http2 ping其他的endpoint
etcdv3-grpc1.23
创建多个sub-connections,默认使用round robin。仍未解决partition问题。