Your one-stop guide to the common patterns and practices, showing you how to apply these using the Go programming language
Key FeaturesPacked with real-world examples of building microservices with GoEasy to read and will benefit smaller teams who want to extend the functionality of their existing systemExplore cost-effective ways of maintaining a monolithic architectureBook DescriptionMicroservice architecture is sweeping the world as the de facto pattern to build web-based applications. Golang is a language particularly well suited to building them. Its strong community, encouragement of idiomatic style, and statically linked binary artifacts make integrating it with other technologies and managing microservices at scale consistent and intuitive. Building Microservices with Go will teach you the common patterns and practices, showing you how to apply these using the Go programming language.
Learn about the fundamental concepts of architectural design and RESTful communication, and patterns that provide manageable code that is supportable in development and at scale in production. We will provide you with examples on how to put these concepts and patterns into practice with Go.
Whether you are planning to develop a new application or working in an existing monolith, this book will explain and illustrate with practical examples how teams of all sizes can start solving problems with microservices. It will help you understand Docker and Docker Compose and how it can be used to isolate microservice dependencies and build environments. We finish off by showing you various techniques to monitor, test, and secure your microservices.
By the end, you will know the benefits of system resilience of a microservice and the advantages of Go stack.
What you will learnPlan a microservice architecture and design a microserviceWrite a microservice with a RESTful API and a databaseUnderstand the common idioms and common patterns in microservice architectureLeverage tools and automation that helps microservices become horizontally scalableObtain grounding in containerization with Docker and Docker Compose to accelerate your development lifecycleManage and secure Microservices at scale with monitoring, service discovery, and automationTest microservices and integrate API tests in GoTable of ContentsIntroduction to MicroservicesDesigning a good APIIntroduction to DockersTestingCommon PatternsMicroservice FrameworksMonitoring and Logging Securing your MicroserviceSetting up an Automated builds and Continuous IntegrationCQRS / Event Driven Architecture
This book is a whole journey to the microservice world with common patterns (such as circuit breaker, retry), communication between services (RPC, REST, Protobuf), CI/CD, security. IMHO it is a good book if you start exploring microservices, but if you already familiar with the former concepts, than it's not for you. I chose this book for learning a lot of Go stuff from a microservice perspective, but this is rather a microservice book. If you want to learn Go, this book is not for you.
This is not a book for an experienced developer. Author does not dive into distributed systems architecture and try explaining how to use libraries in Go to write a microservice application.
Experience in go programing for more than a year can start reading it from the chapter 5 and end with chapter 7. Try some other book for event driven architecture and security practices.
If you are new to microservices starting from a framework will aid you and the author did it successfully.
While the ideas in this book are interesting, I’m really wondering how much effort went into editing, proofreading and checking the final printed book. In the first couple chapters all code blocks have printing errors with double quotes appearing double. In chapter 9 there was a paragraph that was copy pasted twice, and countless run on sentences.
Too bad since I really did like the stuff the book is talking about and I’ve learned quite a bit.
It is a practical summary of the things you need to learn for building the services for production envs. Very good cookbook for beginners in microservices. One thing that I really missed was, topics don't have in-depth contents and there is no/very little referecnce materails tagged to them if want to furhter expolre.