Автор: Joshua Humphries, David Konsumer, David Muto
Издательство: Bleeding Edge Press
Год: 2018
Страниц: 169
Язык: английский
Формат: pdf (true), mobi, epub
Размер: 16.5 MB
This book is for engineers writing applications with different components that need to talk to each other. If you are a backend developer who wants a solution with better performance than JSON and REST for connecting microservices, this book is for you. If you are looking for strong contracts and streaming when building APIs and services, this book is also for you.
This book will introduce you to gRPC and explain how it compares and contrasts with similar technologies. It will introduce you to Protocol Buffers, a key technology for using gRPC. It then provides information on how to make use of gRPC, from the most basic of usage, all the way to advanced capabilities. And it also provides lots of information for making the most of gRPC: from best practices for defining and evolving your gRPC APIs to tools in the ecosystem and how they can be leveraged to get the most out of gRPC and even extend it.
This book explains gRPC, at multiple layers and with precise examples, to empower engineers to build these types of systems. It’s for engineers who want to know the entire gradient, from the simplest form of issuing an RPC to more advanced functionality and even how the RPC itself is structured on the wire.
By the end of this book, you should have a clear understanding of the following:
•What gRPC is and what its role is in applications.
•How to use Protocol Buffers and gRPC to connect systems.
•The mechanics of gRPC, including the underlying HTTP/2 protocol as well as how data is serialized and de-serialized.
•Tools and practices to aid with successfully implementing gRPC in
your applications.
This book is intended for software engineers, so having some level of experience will be very valuable in getting the most from this book.
The book includes code samples in several languages. Most of the examples are simple enough that you don’t need to be an expert in any particular language to follow along. In fact, you may not be familiar with the given language at all, but should still be able to follow the logic and intent. Having said that, Go and Ruby developers will likely find themselves most comfortable reading the code because most of the examples are in those two languages.
This book does not attempt to introduce or define things like “service-oriented architectures” and “micro-services,” so an intermediate level of experience with these kinds of distributed systems will be valuable. It does provide an overview and brief history of communication protocols, but some familiarity with standards like HTTP/REST and JSON will be really helpful to get the most out of it.
Скачать Practical gRPC