I read the load balancing page https://github.com/grpc/grpc/blob/master/doc/load-balancing.md for a start, but still got confused about the correct approach to balancing between the back end instances of GRPC. We are deploying multiple instances of the gRPC microservice and want our other gRPC clients to be able to route between them. We are deploying them as containers in quaternets (actually the Google Container Engine).
Can someone explain the “recommended” approach to balancing gRPC client requests between gRPC servers? It seems that clients should know about endpoints - is it possible to use the built-in LoadBalancer in the container to help?
I can’t talk about kubernets, but there are basically two approaches to balancing gRPC:
grpc::ChannelArguments::SetLoadBalancingPolicyName
, - .
grpc , L4. L7 .
L7?
grpc http2, , . L4 , tcp-, , L7. grpc.
, Linkered/Envoy , .
Linkered/Envoy
, nghttpx nghttpx Ingress.
, .
Samarendra
Envoy, Lyft.
HTTP/2 gRPC .
gRPC gojek, .
, nghttpx nghttpx Ingress controller. L7 HTTP/2.
https://cloud.google.com/endpoints/docs/architecture-overview, , Google.
AWS/ECS https://aws.amazon.com/blogs/aws/new-network-load-balancer-effortless-scaling-to-millions-of-requests-per-second/ , .
- , , NLB HTTP1. SSL.
Source: https://habr.com/ru/post/1676227/More articles:Воспроизведение сеанса против фиксации сеанса против захвата сеанса - securityHow to iterate through a nested dict? - pythonWhat is a ruby authenticator on rails - ruby | fooobar.comError returning to previous view in swift 3 Spritkit - swiftsupervisor.sock refused connection in docker container - pythonHow to encode and decode websocket permessage-deflate using zlib library in C? - cвключение правого щелчка: - javascriptNeo4j gets edges between nodes of the 1st degree - graphhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1676231/javascript-convert-object-properties-to-variables-inside-function-scope&usg=ALkJrhhV3VKWDNFXvaoL-LlNq3sjyfDkTgSpring AOP dot pointer using declared return type - javaAll Articles