The powerful gRPC Remote Procedure Call framework delivers superior speed and security over protocols like REST. When paired with Golang's low-level efficiency and flexibility, gRPC and Go become a killer combination for latency-sensitive microservices applications. gRPC Microservices in Go shows you how to utilize these powerful tools to build production-grade microservices. You'll learn to develop microservice inter-service communication patterns that are powered by gRPC, design backward compatible APIs, and apply hexagonal architecture to microservices.
About the technology
Go is perfect for writing fast, reliable microservices code, but that's only half the story. You also need a communications framework like gRPC to connect your services and handle load balancing, tracing, health checking, and authentication. Together, Go and gRPC accelerate the development process and eliminate many of the challenges you face when building and deploying microservices.
About the book
gRPC Microservices in Go teaches you how to build production-ready microservices using Go and gRPC. In it, you'll learn to create efficient APIs in Go, use gRPC for network communication, and deploy on cloud and Kubernetes. Helpful examples, including a complete eCommerce web app, make it easy to grasp each concept. You'll also get an inside look at testing, deployment, and efficient DevOps practices for microservices.
What's inside
About the reader
For software developers who know the basics of Go.
About the author
Hüseyin Babal has been using Go in production since 2017 to build and maintain SaaS platforms.
Table of Contents
PART 1 - GRPC AND MICROSERVICES ARCHITECTURE
1 Introduction to Go gRPC microservices
2 gRPC meets microservices
PART 2 - DEVELOPING, TESTING, AND DEPLOYING A GRPC MICROSERVICE APPLICATION
3 Getting up and running with gRPC and Golang
4 Microservice project setup
5 Interservice communication
6 Resilient communication
7 Testing microservices
8 Deployment
PART 3 - GRPC AND MICROSERVICES ARCHITECTURE
9 Observability