Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Decentralized Data Management

Vinay Rawal answered on March 23, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers


Decentralized Data Management

0

As per Decentralized Data Management principle, each Microservice should manage its own data, without relying on other Microservice, to ensure scalability and reliability. For example, each Microservice could have its own database that it uses to store data.

Sharing Database with other Microservices violate this principle and should be avoided as it will make it difficult to troubleshoot and can result in data inconsistency.

This design principle will help you better manage your database its also a basis of Database per Microservice design pattern, an essential Microservice Design Principle.

If you are thinking about how could then another Microservice get access to the same data as its very much possible that another service do need it? Well, you should always create APIs for that as we going to see in next Microservice design principle.

You can see this in following Microservice architecture we have different database for UserService, MessageService and FriendService. 

https://medium.com/javarevisited/10-microservices-design-principles-every-developer-should-know-44f2f69e960f

Popularity 3/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Mar 23 2023
Vinay Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.