3 ms·
You could build a separate ReportService which replicates only the data that's needed for a report in RDBMS.
by gcufhg 8y ago
You could build a separate ReportService which replicates only the data that's needed for a report in RDBMS.
- HelloNurse 8y agoWith a sane database design, the Report service can read user details of all users of interest from the user service and ask the Orders service for the orders of each user (a presumably efficient query), without replicating data.
- tatersolid 8y agoSo you’re guaranteeing O(n^2) runtime? Relational DBs are really just fantastic at high-performance sorts, merges, and joins. Why do you want to pay the continual ongoing cost of replicating that poorly and inefficiently in your application logic? For each microservice that refers to another in some way?