jeudi 1 novembre 2018

Microservice archtecture data sharing/management

I'm aiming at developing enterprise application using microservice approach. One of pressing question I have is how am I going to share distributed data among microservices.

Microservices data sharing image

from the image above the Customer and Order microservice both have customer details, though in Order microservice customer infos are striped to only required fields. I understand there is a way to maintain consistency of data across microservices using events.

Questions:

  1. Is this model (refer image) practical/scalable?
  2. If customer data spans across 10 microservices, does it mean if I have 800K customers then all 10 microservices will have 800K data
  3. what is the best approach For large dataset which is shared across microservices.

Aucun commentaire:

Enregistrer un commentaire