What You Learned

Distributed Services with Go — by Travis Jeffery (37 / 84)

The Pragmatic Programmers
The Pragmatic Programmers
1 min readApr 23, 2021

--

👈 Test a gRPC Server and Client | TOC | Chapter 5 Secure Your Services 👉

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

Copyright © 2021, The Pragmatic Bookshelf.

👈 Test a gRPC Server and Client | TOC | Chapter 5 Secure Your Services 👉

Distributed Services with Go by Travis Jeffery can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

Unlisted

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.