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

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
主站蜘蛛池模板: 霍城县| 庆云县| 惠水县| 贺州市| 安化县| 新平| 永康市| 江西省| 乐业县| 景泰县| 兰考县| 临沭县| 武强县| 中宁县| 上饶市| 福鼎市| 行唐县| 元阳县| 滕州市| 丁青县| 邹平县| 南平市| 威信县| 化州市| 陵水| 枣强县| 交口县| 马鞍山市| 陆川县| 乐业县| 芜湖县| 芦溪县| 高要市| 建德市| 陆河县| 宁乡县| 闽清县| 成都市| 商水县| 七台河市| 静海县|