Название: gRPC Microservices in Go (Final Release) Автор: Huseyin Babal Издательство: Manning Publications Год: 2024 Страниц: 200 Язык: английский Формат: pdf (true) Размер: 10.1 MB
Build super fast and super secure microservices with the gRPC high-performance messaging protocol and powerful Go language.
In gRPC Microservices in Go you’ll learn:
Designing and implementing resilient microservice architecture Testing microservices Deploying microservices to the cloud with modern orchestration tools Monitoring and overseeing microservices
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.
Initially developed by Google, the open-source gRPC framework helps you elegantly and reliably deliver messages securely within a microservices architecture. Its seamless integration with infrastructure for load balancing, tracing, fault tolerance, and security help you effortlessly solve many of the common challenges of microservices. gRPC’s server and client stubs let your project call remote service methods and define the business logic behind them. Combined with Go’s fast compilation and execution speed, it’s the perfect solution for building large-scale microservices architectures.
Good architecture design and proper technology selection helps you a lot to build a high-quality product by eliminating repetitive works and providing best toolkit for software development and maintenance. Go language is a good candidate to build high-performance Cloud-Native distributed applications like Microservices in Kubernetes at a big scale. Microservices with gRPC communication has already enabled lots of companies to implement their products with small services based on their business capabilities, and let those services communicate with each other and with public world smoothly. With the help of Go, the distribution of those services becomes easier due to its fast compilation, being able to generate executable binaries, and many other reasons that we will see in detail with real-life examples in upcoming chapters.
gRPC is an open-source Remote Procedure Call framework initially developed by Google in 2015 that basically helps you to connect services with built-in support for load balancing, tracing, fault tolerance and security. The main power of this framework comes from being able to generate server and client stubs (object in client side that implements same methods as the service) for multiple languages that you can use in your consumer project to call remote service methods and in your server project to define business logic behind those service methods.
gRPC tools and libraries are compatible with multiple platforms and languages, including Go, Java, Python, Ruby, jаvascript, C#, and more. The Protobuf binary wire format, as it travels on a wire like in a network, and well-designed code generation for almost all platforms enable developers to build performance-critical applications while retaining cross-platform support.
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:
Designing and implementing resilient microservice architecture Testing microservices Cloud deploying microservices with orchestration tools Monitoring and overseeing microservices
Who should read this book: This book will help developers design and implement their microservices projects using Go and gRPC in the Kubernetes environment. There are some examples of Kubernetes deployment and gRPC usage online, but this book provides a step-by-step explanation of a gRPC microservice life cycle, from beginning to production. For this reason, this book will be a good reference for architects, chief technology officers, and engineering managers in applying microservice principles to development life cycles.
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.