Problems
● Cross-Service Queries with Complex JOINs
● Return Sync Response with low latency
● Provide loosely coupling with decouple services
● Reduce inter-service communication
SOLVE ALL PROBLEMS AT THE SAME TIME !
Considerations
● Sync Communication: Use Service Aggregator Pattern but it increase coupling and latency.
● Async Communication: Provide decoupling but query request are waiting immediate response.
Solutions
● Materialized View Pattern
● CQRS Design Pattern