Book description
How do you detangle a monolithic system and migrate it to a microservice architecture? How do you do it while maintaining business-as-usual? As a companion to Sam Newman’s extremely popular Building Microservices, this new book details a proven method for transitioning an existing monolithic system to a microservice architecture.
With many illustrative examples, insightful migration patterns, and a bevy of practical advice to transition your monolith enterprise into a microservice operation, this practical guide covers multiple scenarios and strategies for a successful migration, from initial planning all the way through application and database decomposition. You’ll learn several tried and tested patterns and techniques that you can use as you migrate your existing architecture.
- Ideal for organizations looking to transition to microservices, rather than rebuild
- Helps companies determine whether to migrate, when to migrate, and where to begin
- Addresses communication, integration, and the migration of legacy systems
- Discusses multiple migration patterns and where they apply
- Provides database migration examples, along with synchronization strategies
- Explores application decomposition, including several architectural refactoring patterns
- Delves into details of database decomposition, including the impact of breaking referential and transactional integrity, new failure modes, and more
Publisher resources
Table of contents
- Preface
- 1. Just Enough Microservices
-
2. Planning a Migration
- Understanding the Goal
- Why Might You Choose Microservices?
- When Might Microservices Be a Bad Idea?
- Trade-Offs
- Taking People on the Journey
- Changing Organizations
- Importance of Incremental Migration
- Cost of Change
- So Where Do We Start?
- Domain-Driven Design
- A Combined Model
- Reorganizing Teams
- How Will You Know if the Transition Is Working?
- Summary
- 3. Splitting the Monolith
-
4. Decomposing the Database
- Pattern: The Shared Database
- But It Can’t Be Done!
- Pattern: Database View
- Pattern: Database Wrapping Service
- Pattern: Database-as-a-Service Interface
- Transferring Ownership
- Data Synchronization
- Pattern: Synchronize Data in Application
- Pattern: Tracer Write
- Splitting Apart the Database
- Splitting the Database First, or the Code?
- Schema Separation Examples
- Pattern: Split Table
- Pattern: Move Foreign-Key Relationship to Code
- Transactions
- Sagas
- Summary
- 5. Growing Pains
- 6. Closing Words
- A. Bibliography
- B. Pattern Index
- Index
Product information
- Title: Monolith to Microservices
- Author(s):
- Release date: November 2019
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492047841
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Building Microservices, 2nd Edition
Distributed systems have become more fine-grained as organizations shift from code-heavy monolithic applications to smaller, self-contained …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …