Architecture model: API combination
Context
You have applied micro-service architecture model and each service database schema. Therefore, to achieve the connection data from multiple service queries is no longer straightforward.
problem
How to implement the query in the micro-service architecture?
in conclusion
Memory is achieved by defining a query API Composer, call the API Composer service that owns the data and the results of connection.
example
API API Gateway is typically performed in combination.
Resulting Context
This model has the following benefits:
- This is an easy way to query data in the micro-service architecture
This model has the following disadvantages:
- Some queries will lead to inefficient memory connected to large data sets.
Associated mode
- Each service database mode creates a demand for this mode of
- CQRS mode is an alternative solution