Book description
Explore the concepts and tools you need to discover the world of microservices with various design patterns
About This Book
- Get to grips with the microservice architecture and build enterprise-ready microservice applications
- Learn design patterns and the best practices while building a microservice application
- Obtain hands-on techniques and tools to create high-performing microservices resilient to possible fails
Who This Book Is For
This book is for architects and senior developers who would like implement microservice design patterns in their enterprise application development. The book assumes some prior programming knowledge.
What You Will Learn
- How to break monolithic application into microservices
- Implement caching strategies, CQRS and event sourcing, and circuit breaker patterns
- Incorporate different microservice design patterns, such as shared data, aggregator, proxy, and chained
- Utilize consolidate testing patterns such as integration, signature, and monkey tests
- Secure microservices with JWT, API gateway, and single sign on
- Deploy microservices with continuous integration or delivery, Blue-Green deployment
In Detail
Microservices are a hot trend in the development world right now. Many enterprises have adopted this approach to achieve agility and the continuous delivery of applications to gain a competitive advantage. This book will take you through different design patterns at different stages of the microservice application development along with their best practices.
Microservice Patterns and Best Practices starts with the learning of microservices key concepts and showing how to make the right choices while designing microservices. You will then move onto internal microservices application patterns, such as caching strategy, asynchronism, CQRS and event sourcing, circuit breaker, and bulkheads. As you progress, you'll learn the design patterns of microservices.
The book will guide you on where to use the perfect design pattern at the application development stage and how to break monolithic application into microservices. You will also be taken through the best practices and patterns involved while testing, securing, and deploying your microservice application. At the end of the book, you will easily be able to create interoperable microservices, which are testable and prepared for optimum performance.
Style and approach
Comprehensive guide that uses architectural patterns with the best choices involved in application development
Table of contents
- Preface
-
Understanding the Microservices Concepts
- Knowing the application
- Independently deploy, upgrade, scale, and replace
- Light weight communication
- Potentially heterogeneous/polyglot
- Documentation of communication
- Endpoints for web applications
- Endpoints for mobile applications
- Caching at the client level
- Throttling for your client
- Identifying anemic domains
- Identifying the fat domains
- Identifying microservice domains for the business
- From domain to entity
- Summary
- The Microservice Tools
- Internal Patterns
- Microservice Ecosystem
-
Shared Data Microservice Design Pattern
- Understanding the pattern
- Breaking a monolithic application into microservices
- Data orchestration
- Consolidating responses
- Microservice communication
- Storage sharing anti-pattern
- Best practices
- Testing
- Pros and cons of the shared data pattern
- Summary
- Aggregator Microservice Design Pattern
- Proxy Microservice Design Pattern
- Chained Microservice Design Pattern
- Branch Microservice Design Pattern
- Asynchronous Messaging Microservice
- Microservices Working Together
- Testing Microservices
- Monitoring Security and Deployment
- Other Books You May Enjoy
Product information
- Title: Microservice Patterns and Best Practices
- Author(s):
- Release date: January 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788474030
You might also like
book
Hands-On RESTful API Design Patterns and Best Practices
Build effective RESTful APIs for enterprise with design patterns and REST framework's out-of-the-box capabilities Key Features …
book
RESTful Web API Patterns and Practices Cookbook
Many organizations today orchestrate and maintain apps that rely on other people's services. Software designers, developers, …
book
Implementing Domain-Driven Design
“For software developers of all experience levels looking to improve their results, and design and implement …
book
Microservices Patterns
Microservices Patterns teaches enterprise developers and architects how to build applications with the microservice architecture. Rather …