知识卡片
频繁跨服务协作提示领域边界问题
粗粒度领域服务理想上相对独立。若一项需求经常要跨多个服务改动,或服务之间大量互调,应先核查领域边界是否划错、是否更适合另一种风格。原书“约12个服务”的上限只是其共享数据库场景下的实践提示,不是硬性架构规则;必要的通知调用并非一律禁止。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Service-Based Architecture Style · 查看原书依据
Too much communication between domain services is a good indication that either the architect didn’t partition the domains correctly or this isn’t the right architectural style
参考来源
- 位置:《Fundamentals of Software Architecture》原书第14章《Service-Based Architecture Style》(阅读计划第17项;源文件:`OEBPS/ch14.html`)
- 结论依据:原文把跨服务改动与大量互调列为边界信号,并把约12个服务作为实践上限。
- 原始内容:Too much communication between domain services is a good indication that either the architect didn’t partition the domains correctly or this isn’t the right architectural style