Thank you for your reply. I still have no idea about it. I don't konw what should to do in grpc client and server.I read the example github.com/saturnism/grpc-java-demos/tree/master/kubernetes-lb-example In that example ,they create NameResolver and NameResolverProvider.Do you have a simple grpc load balance example that includes client and server.
在 2017年10月31日星期二 UTC+8上午8:21:43,Carl Mastrangelo写道: > > Load Balancing comes in two parts: > > 1. The local load balancing logic > 2. The load balancing service that keeps track of all the servers you > want to talk to. > > I can't speak much about 2, but for 1 the logic in > RoundRobinLoadBalancerFactory is a good example of how to implement your > own load balancing logic. > > On Monday, October 30, 2017 at 4:16:07 AM UTC-7, [email protected] wrote: >> >> Nowadays,I'm studing grpc. I've read the doc on the github. http:// >> https://github.com/grpc/grpc/blob/master/doc/load-balancing.md But i >> don't find an example about how to load balance in grpc.It would be >> appreciated if anyone could give me an example >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/4a568b63-5a73-40ba-bf24-a8e293161e0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
