知识卡片
功能内聚约束服务粒度
高功能内聚要求一个边界集中表达相关领域能力或工作流。巨大单体虽能整体部署,却未必只有一个内聚职责;极小服务也可能因拆散相关行为而增加协调。服务应围绕有用业务上下文设计,而不是把“微”解释为越小越好。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Evolutionary Architecture Topologies · 查看原书依据
Ideally, in a microservices architecture, each service models a single domain or workflow and therefore exhibits high functional cohesion. Cohesion in this context isn’t about how services interact to perform work but how independent and coupled one service is to another service.
参考来源
- 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第05章《Evolutionary Architecture Topologies》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch05.html;段落定位:Ideally, in a microservices architecture)
- 结论依据:原文对“功能内聚约束服务粒度”的定义或案例,支撑“高功能内聚要求一个边界集中表达相关领域能力或工作流”的归纳。据其上下文,巨大单体虽能整体部署,却未必只有一个内聚职责;极小服务也可能因拆散相关行为而增加协调。
- 原始内容:Ideally, in a microservices architecture, each service models a single domain or workflow and therefore exhibits high functional cohesion. Cohesion in this context isn’t about how services interact to perform work but how independent and coupled one service is to another service.