Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Microservices with Go

You're reading from   Microservices with Go The expert's guide to building secure, scalable, and reliable microservices with Go

Arrow left icon
Product type Paperback
Published in Jun 2025
Publisher Packt
ISBN-13 9781836207337
Length 428 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Alexander Shuiskov Alexander Shuiskov
Author Profile Icon Alexander Shuiskov
Alexander Shuiskov
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Introduction FREE CHAPTER
2. Introduction to Microservices 3. Foundation
4. Scaffolding a Go Microservice 5. Service Discovery 6. Serialization 7. Synchronous Communication 8. Asynchronous Communication 9. Storing Service Data 10. Setting Up Service Deployments 11. Unit and Integration Testing 12. Security and Compliance 13. Maintenance
14. Reliability Overview 15. Collecting Service Telemetry Data 16. Setting Up Service Alerting 17. Performance Monitoring 18. Advanced Topics
19. Implementing Distributed System Scenarios 20. Advanced Topics 21. Other Books You May Enjoy
22. Index

To get the most out of this book

I suggest you get some familiarity with Go by implementing a few applications, such as simple web services. Familiarity with a Docker tool would be a plus because we will be using it for running some of the tools that our microservices will be using. Finally, I strongly suggest implementing, running, and playing with the example microservices that we will be implementing so that all your knowledge will be cemented by practice.

Software/hardware covered in the book

Operating system requirements

Go 1.18 or above

Windows, macOS, or Linux

Docker

Windows, macOS, or Linux

grpcurl

Windows, macOS, or Linux

Kubernetes

Windows, macOS, or Linux

Prometheus

Windows, macOS, or Linux

Jaeger

Windows, macOS, or Linux

Graphviz

Windows, macOS, or Linux

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

Download the example code files

The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/Microservices-with-Go---Second-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing. Check them out!

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/gbp/9781836207337.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: " XML represents data as a tree of nodes called elements. An element example would be <example>Some value</example>.

A block of code is set as follows:

Metadata{
    ID:          "123",
    Title:       "The Movie 2",
    Description: "Sequel of the legendary The Movie",
    Director:    "Foo Bars",
}

Any command-line input or output is written as follows:

protoc -I=api --go_out=. movie.proto

Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: "These solutions combine two roles: they act as both serialization formats and communication protocols – mechanisms for sending and receiving arbitrary data over the network."

Warnings or important notes appear like this.

Tips and tricks appear like this.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime