gRPC
We have already taken a look at the Protocol Buffers messaging protocol from Google when we looked at API design in Chapter 2, Designing a Great API. gRPC is a cross-platform framework that uses HTTP/2 as the transport protocol, and Protocol Buffers as the messaging protocol. Google developed it as a replacement for their Stubby framework, which they had used internally for many years.
The intention behind the project was to build a framework that promotes good microservice design, concentrating on messages rather than distributed objects. gRPC is also optimized for the many network problems we face in microservice architecture, such as fragile networks, limited bandwidth, and the cost of the transport. One of the other lovely facets ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access