gRPC Go for Professionals: Implement, test, and deploy production-grade microservices - Softcover

Jean, Clement

 
9781837638840: gRPC Go for Professionals: Implement, test, and deploy production-grade microservices

Synopsis

Build real-world and production-ready Microservices in gRPC Go to make your APIs scalable and efficient.

Key Features

  • Learn which trap to avoid when designing and evolving your gRPC services
  • Get familiar with advanced gRPC concepts such as Authentication and Security, …
  • Apply your knowledge by building, testing, and deploying a TODO list microservice

Book Description

In recent years, Microservice architecture has been gaining popularity. With that rise, comes a different set of requirements than we had previously. The most important one is efficient communication between the different services. That's where gRPC comes in. So naturally, this book will show you how to create gRPC servers and clients in an efficient, secure, and scalable way. But, on top of that, because Microservices are not only about communication, this book intends to show you how to deploy your application on Kubernetes and configure other tools that are needed for making your application more resilient. In that way, this book will give you all the tools that you need to start right away with gRPC in a Microservice architecture.

In gRPC Go for Professionals, you'll begin by learning the core concepts such as how the framework sends messages over the network and why it uses Protobuf for serialization and deserialization. After that, we will implement a TODO list API step by step to see the different features of gRPC. Then we are going to see how to test your services in different ways. We will see how to debug your API endpoints. And finally, we will see how to deploy the application's services by creating Docker images and using Kubernetes.

What you will learn

  • Understand the different API endpoints that gRPC lets you write
  • Learn what you need to be careful of whenwriting your Protobuf files
  • Learn how to compile Protobuf code with protoc and Bazel
  • Discover how advanced gRPC concepts work
  • Learn how to Unit Test and Load Test your API
  • Understand how to deploy your Microservices with Docker and Kubernetes
  • Discover the tools needed for writing secure and efficient gRPC code

Who This Book Is For

If you are interested in Microservices or simply want to use gRPC in your product, this book is for you. In order to learn from this book, you will need proficient programming knowledge in Go and in using a terminal. This book is also great for people who are already familiar with gRPC but want to explore in more depth the different concepts and tools.

Table of Contents

  1. Networking Primer
  2. Probuf Primer
  3. Introduction to Grpc
  4. Setting up a Project
  5. Type of gRPC End points
  6. Consideration in designing APIs
  7. Out of the box features
  8. More Essential Features
  9. Production-Grade APIs

"synopsis" may belong to another edition of this title.

About the Author

Clément Jean is the CTO of Education for Ethiopia, a start-up focusing on educating K-12 students in Ethiopia. On top of that, he is also an online instructor (on Udemy, Linux Foundation, and others) teaching people about different kinds of technologies. In both his occupations, he deals with technologies such as gRPC and how to apply them to real-life use cases. His overall goal is to empower people through education and technology.

"About this title" may belong to another edition of this title.