What You Learned

You now know how to define a gRPC service in protobuf, compile your gRPC protobufs into code, build a gRPC server, and test that everything works end-to-end across your client and server. You can build a gRPC server and client, and you can use your log over the network.

Next we’ll improve the security of our service by encrypting the data sent between the client and server with SSL/TLS, and authenticating requests so we can know who’s making each request and whether they’re allowed to.

Footnotes

[15]

https://github.com/grpc-ecosystem

[16]

https://github.com/grpc-ecosystem/go-grpc-middleware

[17]

https://grpc.io/blog/grpc-load-balancing

[18]

https://godoc.org/google.golang.org/grpc/status

[19]

https://godoc.org/google.golang.org/grpc/codes

[20]

https://godoc.org/google.golang.org/genproto/googleapis/rpc/errdetails