Book
gRPC: Up and Running
Building Cloud Native Applications with Go and Java for Docker and Kubernetes
Kasun Indrasiri, Danesh Kuruppu
Summary
Kasun Indrasiri and Danesh Kuruppu work through gRPC from a first service to running one in production, across eight chapters. The early chapters introduce the protocol and get a service built, with Protocol Buffers defining the schema first. A chapter on communication patterns covers what separates gRPC from plain request-response RPC, including its streaming modes, and a chapter on what happens under the hood explains how a call is encoded and carried. Later chapters go beyond the basics to what a real service needs, such as interceptors, then security, deployment and operation, and finally the surrounding ecosystem of tooling. Examples are in Go and Java, and deployment is covered for Docker and Kubernetes.
Target Readers
- Engineers moving service-to-service communication off JSON over HTTP who want to know what gRPC changes
- Go or Java developers who need a schema-first contract between services rather than a hand-written one
- Teams running gRPC on Docker and Kubernetes who need more than a first working call
Tags
Colophon
- Publisher
- O'Reilly Japan
- ISBN
- 978-4873119342
- Published
- Jan 2021
- List price
- ¥3,740incl. taxMay differ from the actual selling price on Amazon
Get this book
* The link above is an advertisement via Amazon Associates.Related Books
Prerequisites
- Related
Web API: The Good Parts
Takaaki Mizuno
Reason: With text-based REST in hand, you broaden your view to gRPC as a high-efficiency option for service-to-service communication. gRPC: Up and Running teaches contract definition with Protocol Buffers and bidirectional streaming, presenting a practical answer for internal microservice communication.
- Related
The Design of Web APIs
Arnaud Lauret
Reason: Comfortable with contract design via OpenAPI, you move to gRPC, which uses Protocol Buffers as a stricter, binary-efficient contract. Comparing the experience of generating types and stubs from a schema reveals the breadth of contract-driven development.