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

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.

主站蜘蛛池模板: 六盘水市| 九寨沟县| 定远县| 云龙县| 兴海县| 葵青区| 佳木斯市| 涟水县| 昌邑市| 莒南县| 福州市| 武强县| 昭苏县| 扶风县| 玉树县| 什邡市| 绍兴县| 邹平县| 故城县| 永福县| 松江区| 龙陵县| 蒙城县| 治多县| 汽车| 兴业县| 甘孜县| 河间市| 溧水县| 侯马市| 许昌市| 广南县| 商城县| 垦利县| 陆良县| 延吉市| 南丹县| 新兴县| 淮阳县| 桦南县| 辉南县|