commit | 8a6eb0f6e96a246c7c655b0207b62255042f6fbd | [log] [tgz] |
---|---|---|
author | Menghan Li <menghanl@google.com> | Thu Apr 13 13:41:35 2017 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 13 13:41:35 2017 -0700 |
tree | 224b24618a5b03946715685e033cc919fe1a4338 | |
parent | 0e8b58d22f34640cb17dbbed1c8aef3b8dcc0e97 [diff] |
grpclb should connect to the second balancer (#1181) grpclb needs to connect the second resolved balancer address when the first balancer disconnects. If grpclb gets 2 resolved addresses: balancer1 and balancer2. When balancer1 disconnects, grpclb should automatically start to use balancer2.
The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the gRPC Quick Start guide.
To install this package, you need to install Go and setup your Go workspace on your computer. The simplest way to install the library is to run:
$ go get google.golang.org/grpc
This requires Go 1.6 or later.
The grpc package should only depend on standard Go packages and a small number of exceptions. If your contribution introduces new dependencies which are NOT in the list, you need a discussion with gRPC-Go authors and consultants.
See API documentation for package and API descriptions and find examples in the examples directory.
GA
Please update proto package, gRPC package and rebuild the proto files:
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
go get -u google.golang.org/grpc
protoc --go_out=plugins=grpc:. *.proto