- Cloud-Native Applications in Java
- Ajay Mahajan Munish Kumar Gupta Shyam Sundar
- 207字
- 2021-06-24 19:07:21
API aggregation
Aggregation at the gates. This applies to mobile or third-party use cases that do not want to know the details of the aggregation and instead would want to expect one data structure over a single request. The API gateways are designed to do this aggregation and then expose a unified service to the client. The API gateways can also select to eliminate any data sections in the aggregate service if it is not required to be shown during content aggregation:

Benefits
The benefits of using the API aggregation pattern are as follows:
- The individual service details are abstracted from the client by the API gateway. Hence it gives the flexibility to change the services internally without affecting the client tier.
- Better in bandwidth constrained scenarios where running parallel HTTP requests may not be a good idea.
- Better in UI processing constrained scenarios where processing power might not be enough for concurrent page generation.
Trade-offs
The trade-offs associated with the API aggregation pattern are as follows:
- Where there is sufficient bandwidth, the latency of this option is higher than the aggregation by the client. This is because the API gateway waits for all the content to be aggregated before sending the data out to the client.
推薦閱讀
- 全國大學生電子設(shè)計競賽訓練教程
- 5G承載關(guān)鍵技術(shù)與規(guī)劃設(shè)計
- 物聯(lián)網(wǎng)在中國的探索與實踐
- 核心網(wǎng)架構(gòu)與關(guān)鍵技術(shù)
- 5G系統(tǒng)技術(shù)原理與實現(xiàn)
- 常用電子元器件識別/檢測/選用一讀通(第2版)
- 6G關(guān)鍵技術(shù)權(quán)威指南
- 現(xiàn)代電子產(chǎn)品工藝
- 芯片設(shè)計——CMOS模擬集成電路版圖設(shè)計與驗證:基于Cadence IC 6.1.7(第2版)
- 航天測量船衛(wèi)星通信地球站技術(shù)
- Android商業(yè)軟件開發(fā)全程實戰(zhàn)
- 移動通信技術(shù)
- GSM網(wǎng)絡(luò)優(yōu)化理論與實踐
- UI 那些事兒:新手設(shè)計師的成長之路
- 電子技術(shù)及技能訓練