知识卡片
沿业务流程识别子域
按子域拆分时,从系统为达成目标必须完成的业务操作入手,沿流程识别职责、数据归属和协作点。CoffeeMesh 的下单到配送流程据此得到产品、订单、支付、厨房与配送五个子域;重点是流程中的能力边界,而非照搬团队名单。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Microservice APIs》第 3 章《Designing microservices》(源文件:_epub-src/OEBPS/Text/03.htm)
- 结论依据:原文提出先思考系统为达成目标执行的操作,随后把订购和配送步骤映射到五个各自拥有逻辑及数据的子域。
- 原始内容:To break down a system into subdomains , it helps to think about the operations the system has to perform to accomplish its goal. With CoffeeMesh, we want to model the process of taking an order and delivering it to the customer. ... Using strategic analysis, we obtain a decomposition for CoffeeMesh in five subdomains, which can be mapped to microservices, as each encapsulates a well-defined and clearly differentiated area of logic that owns its own data.