vendredi 25 septembre 2020

Should I Replicate Data If Data size is huge in Microservice Architecture?

Consider company like Amazon, Flipkart.

They shows our order history means they have Order Microservice and Item Detail Microservice.

So Whenever I open my order list, these sites fetch data from order microservice with list of my transaction status against the order. My best guess is they keep maintain order status against transaction Id in Order Table, that is replicated data because same data exist in Payment/Transaction Microservice also.

Can Any one tell me If this transaction data is exponentially increasing in system, did it make sense to store it in Order Microservice also.

Or My guess is wrong in this scenario.

Aucun commentaire:

Enregistrer un commentaire