Microservices Patterns teaches enterprise developers and architects how to build applications with the microservice architecture. Rather than simply advocating for the use the microservice architecture, this clearly-written guide takes a balanced, pragmatic approach, exploring both the benefits and drawbacks.
About the Technology
Successfully developing microservices-based applications requires mastering a new set of architectural insights and practices. In this unique book, microservice architecture pioneer and Java Champion Chris Richardson collects, catalogues, and explains 44 patterns that solve problems such as service decomposition, transaction management, querying, and inter-service communication.
About the Book
Microservices Patterns teaches you how to develop and deploy production-quality microservices-based applications. This invaluable set of design patterns builds on decades of distributed system experience, adding new patterns for writing services and composing them into systems that scale and perform reliably under real-world conditions. More than just a patterns catalog, this practical guide offers experience-driven advice to help you design, implement, test, and deploy your microservices-based application.
- How (and why!) to use the microservice architecture
- Service decomposition strategies
- Transaction management and querying patterns
- Effective testing strategies
- Deployment patterns including containers and serverlessices
About the Reader
Written for enterprise developers familiar with standard enterprise application architecture. Examples are in Java.
About the Author
Chris Richardson is a Java Champion, a JavaOne rock star, author of Manning's POJOs in Action, and creator of the original CloudFoundry.com.
Table of Contents
Chapter 1. Escaping Monolithic Hell
Chapter 2. Decomposition Strategies
Chapter 3. Interprocess Communication In A Microservice Architecture
Chapter 4. Managing Transactions With Sagas
Chapter 5. Designing Business Logic In A Microservice Architecture
Chapter 6. Developing Business Logic With Event Sourcing
Chapter 7. Implementing Queries In A Microservice Architecture
Chapter 8. External Api Patterns
Chapter 9. Testing Microservices: Part 1
Chapter 10. Testing Microservices: Part 2
Chapter 11. Developing Production-Ready Services
Chapter 12. Deploying Microservices
Chapter 13. Refactoring To Microservices