educative.io

Educative

Multi-Model Databases and reliability in distributed systems

Although the multimodel database has all data models ( key-value, graph, documents rdbms… etc).
Does this in any way impact the reliability of the overall system in a microservice architecture

Should all microservices talk to the same database?

Regards
Darshan


Type your question above this line.

Course: https://www.educative.io/collection/6064040858091520/6411938009448448
Lesson: https://www.educative.io/collection/page/6064040858091520/6411938009448448/6358944152813568

Hey @Darshan!
In a multi-model database, there is inter-model data consistency due to a single backend. Also, the multi-model database is ACID complaint. So as reliability relies on the completeness and consistency of the data, that’s why it is reliable.
It is always preferable to use the Database per service pattern in a micro-service architecture.