Building Microservices — Book Summary & Review
by Sam Newman
Last updated:
Building Microservices Summary
Newman's book opens with an exploration of the 'bounded context' concept, a framework crucial for understanding how to isolate microservices effectively. The book is structured to guide you step-by-step through the lifecycle of microservices, from design to deployment, with practical advice and real-world examples. Newman discusses the intricacies of container orchestration in detail, offering insights on tools like Kubernetes. Chapter 4, 'Integration,' stands out by covering various strategies to ensure your services work harmoniously, addressing both synchronous and asynchronous communication methods. However, the book assumes a certain level of familiarity with distributed systems; beginners may find themselves lost amidst the technical jargon and concepts presented without a gentle introduction.
Key Takeaways from Building Microservices
-
1
Bounded Context: Newman emphasizes defining clear boundaries for each microservice to avoid overlap and confusion.
-
2
Container Orchestration: Detailed guidance on using Kubernetes to manage and scale microservices efficiently.
-
3
Service Discovery: Techniques for dynamically locating services in a distributed system, crucial for scalability.
-
4
Circuit Breakers: A pattern to manage failures gracefully, preventing cascading failures across microservices.
-
5
Testing Microservices: Strategies for testing in isolation and in integration, including contract testing.
Who Should Read This
If you're a developer or IT professional transitioning from monolithic systems to microservices, this book is for you. Someone who needs practical strategies and real-world examples to implement microservices effectively will benefit greatly.
Who Shouldn't Read This
If you're new to software development, this book may overwhelm you with its technical depth and lack of introductory content. Readers looking for a theoretical discussion rather than practical implementation will also find it lacking.
Editor's Verdict
The most valuable aspect of Newman's book is its practical approach, especially in the 'Integration' chapter. Its primary shortcoming is the assumption of prior knowledge, which may alienate beginners. If you're midway through a microservices migration and feel stuck, this book can provide the clarity and direction you need.
Ready to read Building Microservices?
Get your copy on Amazon today.
Building Microservices — Frequently Asked Questions
About Sam Newman
Sam Newman is a technology consultant and author, known for his expertise in microservices architecture. With a background in software development, he has worked at ThoughtWorks, where he gained extensive experience in building distributed systems. Newman is the author of "Building Microservices," a seminal work on designing scalable systems. His other notable works include "Monolith to Microservices," which provides insights into transforming legacy systems. Newman's practical experience and clear communication make him a credible authority in the field.