Let's step back. High level, what do you want to do? On Monday, October 30, 2017 at 6:17:16 PM UTC-7, [email protected] wrote: > > 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/add2139f-19e0-4374-8ad1-897881ceda83%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
