官术网_书友最值得收藏!

Aggregation by client

Aggregation at the last mile. This applies to web browsers or a reasonable processing capable user interface, which is showing content from various domains. This pattern is typically used in the home page that aggregates various subject areas. Also, it's the pattern popularly used by Amazon:

Benefits

The benefits of using the aggregation by the client pattern are as follows:

  • Decoupled approach at the services layer. Easier for agility and maintainability at each individual service.
  • Faster perceived performance at the UI layer, since the requests, can run in parallel to populate the various areas on the screen. More enhanced when there is a higher bandwidth available to fetch data in parallel.

Trade-offs

The trade-offs associated with the aggregation by the client pattern are as follows:

  • Sophisticated user interface processing capabilities, such as Ajax and single-page application required
  • The knowledge of aggregation is exposed at the UI layer, hence if the similar output was given as a dataset to a third-party, aggregation would be required
主站蜘蛛池模板: 云龙县| 黑龙江省| 大安市| 邛崃市| 松桃| 河东区| 九龙坡区| 民乐县| 盐山县| 北辰区| 崇义县| 县级市| 犍为县| 长宁县| 行唐县| 会宁县| 福泉市| 丰都县| 安义县| 沛县| 新巴尔虎右旗| 尼玛县| 郑州市| 临夏县| 榆树市| 靖州| 台湾省| 隆昌县| 涪陵区| 天镇县| 阿巴嘎旗| 伊吾县| 英超| 苍溪县| 宜都市| 晴隆县| 德州市| 昭平县| 昌图县| 漠河县| 朝阳区|