1

I have a ER diagram and I want to divide it so I can implement multiple microservices

enter image description here

I used to implement monolithic type, is there a guideline on how to divide ER diagram into microservices?

For example, user microservice would have (user table, user type table). I have these table car part, car, country, complaint, shop?

1 Answers1

2

In the microservices architecture, the established way of defining microservices is known as decomposition by subdomain, which is a top-down approach, based on the bounded contexts of your system.

Once they're identified, you can then figure out the data access model that is appropriate (which tables should be used by each microservice).

So I would advise to follow that model, instead of going bottom-up, from the DB to the way microservices should be defined.

Cosmin Ioniță
  • 3,598
  • 4
  • 23
  • 48