Migrating to Microservice Databases_Cover image

Migrating to Microservice Databases: From Relational Monolith to Distributed Data

Edson Yanaga
English

Overview

Code is easy, State is hard. Learning how to deal with your monolithic relational databases in a microservices structure is key to keeping pace in a quickly changing workplace.  There are many approaches and in this book, author Edson Yanaga, takes you through nine different strategies for integrating data from your monolithic application to a microservice architecture.

In this O’Reilly book learn how:

  • zero downtime migrations allow you to deploy new code without disrupting user activity

  • you can evolve your relational database by keeping specific versions of application code and database schemas in the same code repository

  • CRUD pattern and CQRS works and the differences between them—including the consistency models involved in distributed systems

  • to distribute and integrate your relational database into Microservices

Excerpt

Microservices certainly aren’t a panacea, but they’re a good solution if you have the right problem. And each solution also comes with its own set of problems. Most of the attention when approaching the microservice solution is focused on the architecture around the code artifacts, but no application lives without its data. And when distributing data between different microservices, we have the challenge of integrating them.

This book explores some of the reasons you might want to consider microservices for your application. If you understand why you need them, we’ll be able to help you figure out how to distribute and integrate your persistent data in relational databases.

Related E-books