- Microservices with Clojure
- Anuj Kumar
- 224字
- 2021-06-30 19:24:30
Bounded context
A domain model is a conceptual model of a business domain that formalizes its behavior and data. A single unified domain model tends to grow in complexity with business capabilities and increases the collaboration overhead among the team due to high coupling. To reduce coupling, domain-driven design recommends defining a model for each business capability with a well-defined boundary to separate the domain concepts within the model from the ones outside. Each such model then focuses on the behavior and data confined to a single business capability, and thus gets bounded by a single application context, called a bounded context. Monolithic applications tend to have a unified domain model for the entire business domain, whereas for microservices, domain models are defined for each identified bounded context.

For example, instead of defining a single unified domain model for an e-commerce application, it is better to divide the application into bounded contexts of Customer, Sales, and Marketing and define a domain model for each of these contexts, as shown in the preceding diagram. Such focused domain models can then conquer each context based on business capabilities. For example, Customer Context can focus only on user and profile management, Sales Context can handle orders and transactions, and Marketing Context can keep track of user interests for focused marketing.
- Cisco OSPF命令與配置手冊
- SOA用戶指南
- 物聯(lián)網(wǎng)網(wǎng)絡(luò)安全及應(yīng)用
- 網(wǎng)管員典藏書架:網(wǎng)絡(luò)管理與運(yùn)維實戰(zhàn)寶典
- Hands-On Full Stack Development with Spring Boot 2 and React(Second Edition)
- Learning Swift(Second Edition)
- 物聯(lián)網(wǎng)之霧:基于霧計算的智能硬件快速反應(yīng)與安全控制
- 圖解手機(jī)元器件維修技巧
- Mastering Dart
- 面向5G-Advanced的關(guān)鍵技術(shù)
- 網(wǎng)絡(luò)工程實施技術(shù)與方案大全
- 人人都該都懂的互聯(lián)網(wǎng)思維
- 高級網(wǎng)絡(luò)技術(shù)
- 設(shè)備監(jiān)控技術(shù)詳解
- 園區(qū)網(wǎng)絡(luò)架構(gòu)與技術(shù)