Independent data storage
One of the characteristics that support service autonomy is that each microservice can have its own data store. This helps services to be independent and loosely coupled to other services. A service's data store can be altered without those changes affecting other services.
Designing each microservice to have its own data store may come in the form of a microservice having its own database, but that is not the only way to keep a microservice's data storage private. If the data storage technology is a relational database management system (RDBMS), then in addition to the option of having a separate database server, data can be kept separate by designating certain tables to be owned by a particular service. Another ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access