Introduction to GRPC

GRPC is a transport mechanism that sends and receives messages between two systems. These two systems are traditionally a server and a client. As we described in the previous chapters, RPC can be implemented in Go for transferring JSON. We called it a JSON RPC service. Similarly, Google RPC is specially designed to transfer data in the form of protocol buffers. 

GRPC makes the service creation easy and elegant. It provides a nice set of APIs to define services and start running them. In this section, we will mainly focus on how to create a GRPC service and use it. The main advantage of GRPC is that it can be understood by multiple programming languages. Protocol buffers provide a common data structure. So, the combination ...

Get Building RESTful Web services with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.