This is the book for Gophers who want to learn how to build distributed systems. You know the basics of Go and are eager to put your knowledge to work. Build distributed services that are highly available, resilient, and scalable. This book is just what you need to apply Go to real-world situations. Level up your engineering skills today.
Take your Go skills to the next level by learning how to design, develop, and deploy a distributed service. Start from the bare essentials of storage handling, then work your way through networking a client and server, and finally to distributing server instances, deployment, and testing. All this will make coding in your day job or side projects easier, faster, and more fun.
Create your own distributed services and contribute to open source projects. Build networked, secure clients and servers with gRPC. Gain insights into your systems and debug issues with observable services instrumented with metrics, logs, and traces. Operate your own Certificate Authority to authenticate internal web services with TLS. Automatically handle when nodes are added or removed to your cluster with service discovery. Coordinate distributed systems with replicated state machines powered by the Raft consensus algorithm. Lay out your applications and libraries to be modular and easy to maintain. Write CLIs to configure and run your applications. Run your distributed system locally and deploy to the cloud with Kubernetes. Test and benchmark your applications to ensure they're correct and fast.
Dive into writing Go and join the hundreds of thousands who are using it to build software for the real world.
What You Need:
Go 1.13+ and Kubernetes 1.16+
Table of contents
Part I. Get Started
- 1. Let’s Go
- 2. Structure Data with Protocol Buffers
- 3. Write a Log Package
Part II. Network
- 4. Serve Requests with gRPC
- 5. Secure Your Services
- 6. Observe Your Systems
Part III. Distribute
- 7. Server-to-Server Service Discovery
- 8. Coordinate Your Services with Consensus
- 9. Discover Servers and Load Balance from the Client
Part IV. Deploy
- 10. Deploy Applications with Kubernetes Locally
- 11. Deploy Applications with Kubernetes to the Cloud
- Title: Distributed Services with Go
- Release date: March 2021
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781680507607
You might also like
The Staff Engineer's Path
For years, companies have rewarded their most effective engineers with management positions. But treating management as …
Does it seem like your Python projects are getting bigger and bigger? Are you feeling the …
This practical guide provides over 70 self-contained recipes to help you creatively solve common AWS challenges …
Go is an increasingly popular language for programming everything from web applications to distributed network services. …