Migrating to Microservice Databases: From Relational Monolith to Distributed Data
summary
Practical playbook for moving a relational monolith to microservice databases: use zero-downtime migrations composed of many small, back-and-forward-compatible steps (add-column takes four releases, rename needs six), automate with Flyway/Liquibase, shard heavy updates, and prefer CQRS/read-models or event-driven replication over remote CRUD calls. Tools demonstrated: Debezium reading DB transaction logs into Kafka to update read stores (demoed working), materialized views/DB links, ETL and data virtualization. A published repo shows the approach applied end-to-end.
AI-written summary · about
chapters (35)
- 0:00Introduction
- 0:44Interesting facts
- 1:14Raffle
- 4:35Zero Downtime
- 5:00Bluegreen deployments
- 6:08States
- 7:22Database Migration
- 9:07Back and Forward Compatibility
- 9:28Single Statement Per Migration
- 10:00Sharding Update Statements
- 11:12Zero downtime migrations
- 13:17Scenario 1 The Column
- 15:53Scenario 2 The Column
- 17:21Scenario 2 Deletes a Column
- 18:46What about Constraints
- 20:31Macroservice Characteristics
- 20:41Microservice Characteristics
- 20:53Centralized Data Management
- 21:16One Database by Microservice
- 21:35Data has mass
- 22:04Splitting data
- 22:35Consistency models
- 22:53Strong consistency
- 27:42crud
- 30:22Secure RS
- 33:44Secure RS with Separate Data Stores
- 35:28Secure RS Event Sourcing
- 40:52Traditional Distributed Architecture
- 45:26Shared Tables
- 47:09Database Views
- 51:47Triggers
- 52:38Transaction Code
- 53:23ETL Tools
- 54:58Data Virtualization
- 57:40Event Sourcing
related talks
47mMigrating to Microservice Databases
46mData in a Microservices world from conundrum to options
55mThe hardest part of microservices: Your Data
54mFrom a distributed monolith to a microservices solution
25mData-Driven Migration from Monoliths to Event-Driven Microservices
27mHow Micro-Service Patterns Change When the Database Scalable
58mDatabases in the Microservices World
31mMonolith to Microservices: A Guide to Seamless Transitions
