知识卡片
子域是服务安全起点
子域对应细粒度业务能力,包含操作相同或相关数据、使用同一模型且容易共同变化的内聚用例。把这些用例放在一起,公开的能力描述可隐藏复杂实现,容易形成深服务。因此子域是微服务边界的稳妥启发式;组织、战略与非功能需求仍可能要求更宽上下文或更窄聚合服务。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 第14章 微服务
原书出处 · 1 处
- 微服务 · 查看原书依据
A more balanced heuristic for designing microservices is to align the services with the boundaries of business subdomains. As you learned in Chapter 1, subdomains are correlated with fine-grained business capabilities. These are the business building blocks required for the company to compete in its business domain(s). From a business domain perspective, subdomains describe the
参考来源
- 位置:《Learning Domain-Driven Design》第14章《微服务》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch14.html)
- 结论依据:原文将子域的业务能力和内聚用例性质连接到深模块,并明确保留例外。
- 原始内容:A more balanced heuristic for designing microservices is to align the services with the boundaries of business subdomains. As you learned in Chapter 1, subdomains are correlated with fine-grained business capabilities. These are the business building blocks required for the company to compete in its business domain(s). From a business domain perspective, subdomains describe the