Working with gRPC
This chapter is about working with gRPC in Go. gRPC, which stands for gRPC Remote Procedure Calls, is an alternative to RESTful services that was developed by Google. The main advantage of gRPC is that it is faster than working with REST and JSON messages. Additionally, creating clients for gRPC services is also faster due to the available tooling. Last, as gRPC uses the binary data format, it is lighter than RESTful services that work with the JSON format.
The process for creating a gRPC server and client has three main steps. The first step is creating the interface definition language (IDL) file, the second step is the development of the gRPC server, and the third step is the development of the gRPC client that can interact ...