Автор: Huseyin Babal
Издательство: Manning Publications
Год: 2023
Страниц: 242
Язык: английский
Формат: pdf, epub
Размер: 10.2 MB
gRPC is a high-performance messaging protocol that’s extraordinarily well-suited for microservices applications. Learn how to build fast and secure gRPC-based microservices using the powerful Go programming 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
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.
Microservice architecture is another form of service-oriented architecture that defines applications as loosely coupled, fine-grained services that can be implemented, deployed, and scaled independently. The main goal of this book is to provide production-grade best practices for gRPC Microservices in a way that by the end of this book, you will have the self-confidence to implement the entire system on your own.
about the book
In gRPC Microservices in Go you’ll learn the right way to design and build production-grade microservices implementations using Go and gRPC. Learn best practices for designing APIs, implementing cloud native microservices, and even how to run your development process with DevOps culture. Chapter-by-chapter, you’ll set up the microservices architecture for a complete eCommerce web application. Use-case diagrams and illustrations help you understand how microservices architectures are properly constructed, and demystify the theory behind the practical techniques.
Скачать gRPC Microservices in Go (MEAP V07)