Hi Amit, I am trying to implement a scalable gRPC server and seems your implementation could be the right fit as I dont want to put any intellegence on clients. Does your implementation work fine in Kubernetes, because the plan is to run the gRPC server in kubernetes pods.
thanks Mohan Ram On Saturday, February 11, 2017 at 11:17:39 PM UTC+5:30, Amit Ripshtos wrote: > > Hey guys, > Since I wrote my GRPC server in python , I started to have problems when > my c++ clients started sending me *TONS* of messages. > The problem is that I don't have a client-side load balancing in cpp, so I > came up with this solution: > > https://github.com/amitripshtos/grpc-docker-lb > > What it tries to achieve: > I'm using a docker environment, and I want to automatically scale up or > down the GRPC servers when I have load issues. > So I created a load balancer using nghttp2 that it's configurations > changes by the amount of the containers of GRPC. > > It can be done by using consul+registrator+consul-template and refreshing > nghttp2 configurations when needed by sending SIGHUP signal. > > I'm starting using it in production real soon and it's looks good so I > build a example for you to see. > There is non-secure version only at the moment since I`m trying to make > the secure work (it is working for me but I`m struggeling with making > certificates) > > Hope you will like it and use it! > > > BTW: > Does it possible to create encryption only in GRPC using SSL? > I don`t want any authentication, but a plain SSL (Just like when you > create SSL for web servers and you need to manually verify the SSL using > the browser), and I will implement the authentication by myself using > metadata header. > I could not accomplish that and if someone might willing to help it will > be awesome! > > > great day, > Amit. > -- 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/a5ae2594-a42c-4fb6-83a5-69310f66c6b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
