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

Decomposition on the basis of domain

You can also split a monolithic application into a microservice-based application based on its domain. The domain decomposition methods focus on a bounded context, which is a central pattern of Domain-Driven Design (DDD). Domain decomposition methods split a domain into subdomains. You can define services that correspond to the subdomains of the DDD, as shown in the following diagram:

The preceding diagram shows a decomposition based on subdomains. Each subdomain has a corresponding service. Subdomains can be classified according to business processes. For example, as you can see in the preceding diagram, we have decomposed the online bookshop application into the following subdomains:

  • Customer Account Management
  • Book Inventory Management
  • Order Management
  • Shipping Management

The main challenge of this approach lies in identifying the subdomains. Like business capabilities, subdomains are identified by analyzing the business and its organizational structure and identifying the different areas of expertise. Let's discuss the microservice chassis for common cross-cutting concerns.

主站蜘蛛池模板: 哈尔滨市| 德兴市| 张家川| 沙坪坝区| 青田县| 镇雄县| 河池市| 丰台区| 翁牛特旗| 罗平县| 榆中县| 陕西省| 安塞县| 巩义市| 汾阳市| 婺源县| 吐鲁番市| 安阳市| 东乌| 孟津县| 苗栗县| 湘乡市| 江孜县| 新巴尔虎右旗| 兰坪| 德清县| 中山市| 贵南县| 都安| 绥中县| 蒙自县| 大化| 西盟| 壶关县| 福清市| 郯城县| 汝南县| 尉氏县| 福建省| 新民市| 裕民县|