Microservices with Go: The expert’s guide to building secure, scalable, and reliable microservices with Go
Author: Alexander Shuiskov (Author)
Publisher finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2025-06-13
Edition 版本: 2nd ed.
Language 语言: English
Print Length 页数: 428 pages
ISBN-10: 1836207336
ISBN-13: 9781836207337
Book Description
This second edition walks you through the full lifecycle of Go microservice development, from scaffolding and system design to cloud-native rollout. Learn to secure, observe, and fine-tune services that stay responsive under load.
Key Features
- Design and deploy scalable microservices using gRPC, Protocol Buffers and Kubernetes
- Discover industry best practices and gain insights into Go microservice development tools, patterns, and solutions
- Work with hands-on Golang microservice examples in each chapter
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Microservices with Go, Second Edition explains the key benefits and common issues faced by developers when working with microservices, helping you understand the problems microservice architecture solves, the issues it introduces, and how to tackle them.
The author distils his 18+ years of experience in building scalable and reliable infrastructure to help you grasp the importance of using the right principles and standards to achieve all that microservice architecture has to offer. You’ll see why Go is a popular choice for microservice development, as well as navigate its foundational aspects, including service scaffolding, discovery, data serialization, communication, deployment, and testing. After covering development, you’ll move to maintenance and reliability. This second edition is fully updated with newly added topics, including security and compliance, distributed system challenges, and performance monitoring. The final section focuses on advanced concepts, such as system reliability, observability, maintainability, and scalability. Through best practices and practical examples, you’ll learn how to apply key ideas to existing applications using previously scaffolded services.
By the end of this book, you’ll have gained hands-on experience in developing scalable, reliable, and high-performance microservices with Go.
What you will learn
- Leverage event-driven architecture and messaging patterns for efficient microservice communication
- Automate testing, CI/CD pipelines, and deployment strategies for Go microservices
- Establish secure communication between microservices
- Optimize microservice performance by monitoring, profiling, and debugging techniques
- Get hands-on experience in cloud-native observability and deployment tools
- Explore solutions to advanced distributed system scenarios, such as leader election
Who this book is for
This book is for all types of developers, from individuals interested in learning how to write microservices in Go to seasoned professionals who want to master the art of writing scalable and reliable microservice-based systems. A basic understanding of Go will come in handy.
Table of Contents
- Introduction to Microservices
- Scaffolding Go Microservices
- Service Discovery
- Serialization
- Synchronous Communication
- Asynchronous Communication
- Storing Service Data
- Setting Up Service Deployments
- Unit and Integration Testing
- Security and Compliance
- Reliability Overview
- Collecting Service Telemetry Data
- Setting Up Service Alerting
- Performance Monitoring
- Implementing Distributed System Scenarios
- Advanced Topics
About the Author
Alexander Shuiskov is an independent researcher and software expert specializing in distributed systems, microservices, and observability. He has worked at major tech companies, including Uber, Booking(dot)com and eBay, where he helped solve large-scale infrastructure challenges, as well as establish reliability and monitoring of thousands of microservices.