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/25759045-4ca0-461f-8601-887ad9580f22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to