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

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.

主站蜘蛛池模板: 遵化市| 吉安市| 象山县| 秀山| 马鞍山市| 大悟县| 个旧市| 文山县| 鱼台县| 红安县| 霍城县| 镇巴县| 乌拉特后旗| 库伦旗| 延吉市| 施甸县| 临漳县| 吉安县| 城固县| 河曲县| 镇江市| 龙泉市| 封丘县| 张家界市| 乳源| 三都| 灵宝市| 万安县| 彩票| 布拖县| 马龙县| 于都县| 竹山县| 喀喇沁旗| 乾安县| 彭阳县| 岳池县| 克东县| 奉节县| 博野县| 扶风县|