grpc-lb icon indicating copy to clipboard operation
grpc-lb copied to clipboard

Example for grpc-lb with etcd

Results 3 grpc-lb issues
Sort by recently updated
recently updated
newest added

https://github.com/wwcd/grpc-lb/blob/9238d810eecc51ea77cd9cd68deffa78a9986fbf/etcdv3/register.go#L38 官方文档 ``` // KeepAlive keeps the given lease alive forever. If the keepalive response // posted to the channel is not consumed immediately, the lease client will // continue...

你好,刚刚接触 grpc的lb,不能理解在client端做负载均衡的设计,按照你的demo,比如我现在有10个服务节点,10000个client,岂不是每个client都要建立10个TCP链接,而每次只用一个链接来请求服务,每个服务端都要有10000个TCP链接,而这10000个链接平均下来只有1/10的链接是活跃的(如果使用轮询的话),这不是很耗费资源么?希望能得到回复哈,十分感谢。