Aggregate exposing monolith | Exposing domain aggregates from a monolith to allow microservices to access entities managed by the monolith. |
Branch by abstraction | Coexisting two implementations of the same functionality in the same codebase at the same time, allowing for a new implementation to be incrementally developed until it can replace the old implementation. |
Change data capture | Transmit changes made to an underlying datastore to other interested parties. |
Change data ownership | Moving the source of truth from the monolith to a microservice. |
Database as a Service interface | Using a dedicated database to provide read-only access to internal service data. |
Database view | A view is projected from an underlying database, allowing for parts of the database to be hidden. |
Database wrapping service | A facade service is placed in front of an existing shared database, allowing for services to migrate away from direct use of the database. |
Decorating collaborator | Trigger functionality running in a separate microservice by sniffing requests sent to the monolith, and the responses that are sent back in return. |
Dedicated reference data schema | A dedicated database to house all static reference data. This database can be accessed by multiple different services. |
Duplicate static reference data | Copy static reference data into microservice databases. |
Monolith as data access layer | Accessing data managed by the monolith via APIs rather than directly accessing the database. |
Move foreign key to code | Move management and enforcement of foreign-key relationships from a single database up into your service tier. |
Multischema storage | Managing data in different databases, typically while migrating from a shared database to a database-per-service model. |
Parallel run | Run two implementations of the same functionality side by side, to ensure that the new functionality behaves appropriately. |
Repository per bounded context | Break apart a single repository layer around different parts of the domain, making decomposition into services easier. |
Shared database | A single database is shared between more than one service. |
Split table | Breaking a table into two parts prior to service decomposition. |
Static reference data library | Move static reference data into a library or configuration file that can be packaged with each microservice that needs it. |
Static reference data service | A dedicated microservice that provides access to static reference data. |
Strangler fig application | Wrap your new microservice architecture around the existing monolith. Calls to use functionality that has been migrated from the monolith to your microservices are diverted; other calls are left unchanged. |
Synchronize data in application | Synchronize data between two sources of truth from inside a single application. |
Tracer write | Incrementally migrate data from one source of truth to another, tolerating two sources of truth during the migration. |
UI composition | Presenting a single user interface by assembling many small parts together. |