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

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
主站蜘蛛池模板: 宣恩县| 东港市| 奉贤区| 内乡县| 昌宁县| 德钦县| 应城市| 浮山县| 赤峰市| 武川县| 厦门市| 深水埗区| 定结县| 油尖旺区| 桐梓县| 金华市| 三穗县| 湘乡市| 偃师市| 抚州市| 嘉定区| 应城市| 涪陵区| 马鞍山市| 高要市| 修水县| 哈密市| 潮州市| 双辽市| 高唐县| 崇左市| 七台河市| 禹州市| 云梦县| 阿拉善右旗| 榆社县| 株洲县| 色达县| 南漳县| 耒阳市| 龙陵县|