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
Building Event-Driven Microservices
Organizations today often struggle to balance business requirements with ever-increasing volumes of data. Additionally, the demand …
video
Event-Driven Microservices
Software developers and architects increasingly turn to microservices as a framework for improving the agility and …
book
Building Microservices
Distributed systems have become more fine-grained in the past 10 years, shifting from code-heavy monolithic applications …
book
Kubernetes in Action
Kubernetes in Action is a comprehensive guide to effectively developing and running applications in a Kubernetes …