Building Microservices - Designing Fine-Grained Systems by Sam Newman
I am lucky to have read the first edition of "Building Microservices" in 2018. Sam Newman became a teacher who taught me a solid foundation of microservices..
I am lucky to have read the first edition of "Building Microservices" in 2018. Sam Newman became a teacher who taught me a solid foundation of microservices, greatly influencing my career over the following years.
In 2023, I had a chance to work on a project that required splitting a heavy monolith into microservices, so I wanted to update myself with ever-evolving tools, concepts, and patterns. When I noticed that the second, extended, and updated edition was available, I instantly knew this was the book I had to read again.
The content consists of three parts and 16 chapters:
- What are microservices
- How to model microservices
- Splitting the monolith
- Microservice communication styles
- Implementing microservice communication
- Workflow
- Build
- Deployment
- Testing
- From monitoring to observability
- Security
- Resiliency
- Scaling
- User interfaces
- Organizational structures
- The evolutionary architect
Part One (Chapters 1-4) provides core ideas and concepts about microservices. It examines the importance of information hiding, coupling, cohesion, domain-driven design, and boundaries. It shows microservices advantages (Technology Heterogeneity, Robustness, Scaling, Ease of Deployment, Organizational Alignment, Composability) and pain points (Developer Experience, Technology Overload, Cost, Reporting, Monitoring and Troubleshooting, Latency, etc.) You will learn that a monolith is not always an enemy, but if you are on track to splitting it, you will know how to do it most efficiently and safely. The last chapter discusses the different types of microservice communication, including asynchronous versus synchronous calls and request-response and event-driven collaboration styles.
Part Two (Chapters 5-13)
Part two goes even more deeply in detail, but I prefer that the reader get the wisdom directly from the source instead of my summary.
Building Microservices - Designing Fine-Grained Systems by Sam Newman. (Second Edition, O'Reilly, 2021, 618 pages)