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

Classification into up/downstream services

Another way to break down the application systems is to categorize them by upstream and downstream data flow models. Core entities in the system comprise the upstream services. These upstream services than raise events that are subscribed by the downstream services to augment their functionality. This is aimed at decoupling the systems and help improve the overall business agility. This works well with Reactive, also known as event-driven, architecture concepts.

Let's take a simplified view of an e-commerce application, where the core entities are CUSTOMER and PRODUCT. The ORDER service depends on information about customers and products from the core entities. Next, we are building services that provide RECOMMENDATION and PERSONALIZATION services to the customer. The RECOMMENDATION and PERSONALIZATION services depend upon data from the core entities—CUSTOMER, PRODUCT, and ORDER. When there is a change to any of the core entities, changes are published. These changes are picked up by the RECOMMENDATION and PERSONALIZATION services, where they augment this data with additional attributes to provide relevant services. The RECOMMENDATION and PERSONALIZATION services downstream these services:

This model of classifying the business capabilities into UPSTREAM and DOWNSTREAM help define the dependency relationships between services and change the impact of any upstream services on the downstream services.

主站蜘蛛池模板: 濮阳县| 南昌县| 高碑店市| 比如县| 名山县| 资阳市| 碌曲县| 南江县| 丹寨县| 菏泽市| 伊宁县| 朔州市| 安化县| 云梦县| 米易县| 珲春市| 托克逊县| 永仁县| 罗山县| 紫金县| 金坛市| 隆子县| 呈贡县| 彰武县| 太康县| 普陀区| 德阳市| 苏州市| 莱州市| 木里| 萨迦县| 临城县| 鸡东县| 甘谷县| 东乡县| 黑河市| 东乌| 潜江市| 永平县| 泸州市| 佳木斯市|