Envoy is interesting, although I found it hard to configure; a proxy alternative is https://nghttp2.org/documentation/index.html which is less frills but much easier to setup imo.
However, those are both proxy solutions whereas grpc is supposed to have client-side LB mechanism built in (https://grpc.io/blog/loadbalancing), which is what the Java example earlier about is; it'd be pretty useful to have a node.js example of how to use consul, or zookeeper or something akin and how to hook into it. On Monday, February 5, 2018 at 10:55:03 PM UTC-7, [email protected] wrote: > > Envoy <https://www.envoyproxy.io> is what you want, which is written in > C++ and could also handle logging, tracing, and etc. as sidecar. > > On Wednesday, August 10, 2016 at 1:51:53 AM UTC+8, [email protected] > wrote: >> >> Hi >> >> While going through gRPC goals on grpc.io I noticed it mentions Load >> balancing as one of its design principles or Goals. >> >> But I did not find anything which suggests the same. >> >> Saw one of the gRPC Demos by Sameer Ajmani on Youtube and he appears to >> be running some kind of a Server Proxy(some yaml file suggested this).I may >> be wrong. >> >> So, my question is how is this Load Balancing goal achieved by gRPC if I >> have to use a TCP or HTTP Load balancer Proxy to achieve this? >> >> As I understands gRPC server stubs need to run on each and every System >> providing the Service(s), but what does client need to do if Servers are >> not behind a Proxy? >> >> As I understand gRPC does not have a Service Discovery mechanism, hence >> the confusion. >> >> Could someone please point me to the right direction? >> >> PS:- I am a newbie to gRPC, pardon my ignorance. Would appreciate if >> someone can CMIIW. >> >> Thanks, >> > -- 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/51daddd5-7795-4fa6-890f-2a4a6231e20a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
