- Cloud-Native Applications in Java
- Ajay Mahajan Munish Kumar Gupta Shyam Sundar
- 143字
- 2021-06-24 19:07:21
Microservice aggregation
Aggregation at the business tier. In this approach, a microservice aggregates the responses from the various constituent microservices. This pattern is useful if there is any real-time business logic to be applied while aggregating data. For example, showing the total value of customer holdings across various businesses:

Benefits
The benefits of using the microservice aggregation pattern are as follows:
- Finer control on the aggregation. Also, there is a possibility of incorporating the business logic based on aggregated data. Thus, offering richer content aggregation capabilities.
- Lower dependency on API gateway capabilities.
Trade-offs
The trade-offs associated with the microservice aggregation pattern are as follows:
- Lower latency and more code, as there is an additional hop introduced due to an additional step.
- More chances of failure or making mistakes. Parallel aggregation from microservices will need sophisticated code such as reactive or call back mechanisms.
推薦閱讀
- Premiere Pro與After Effects從入門到實戰(zhàn)(微課版)
- 雙/多基地雷達目標(biāo)探測與識別
- 圖表細說電子工程師速成手冊(第2版)
- 室內(nèi)分布系統(tǒng)規(guī)劃與設(shè)計:GSM/TD-SCDMA/TD-LTE/WLAN
- Rust Standard Library Cookbook
- 5G技術(shù)核心與增強:從R15到R16
- 數(shù)字電路與系統(tǒng)
- 成像雷達并行仿真優(yōu)化技術(shù)
- TensorFlow Machine Learning Cookbook
- 深入理解邊緣計算:云、邊、端工作原理與源碼分析
- 電子元器件檢測與應(yīng)用
- 電磁兼容的電路板設(shè)計:基于Altium Designer平臺
- 通信專業(yè)實務(wù):傳輸與接入(無線)
- 5G網(wǎng)絡(luò)深度覆蓋技術(shù)實戰(zhàn)進階
- 大話TD-SCDMA