← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1976.ao

上下文限定最大单体

理解等级:高级

限界上下文保护一种一致的语言和模型,因此可包含多个不冲突子域,其宽度不必等于微服务。按本章模型,微服务也是上下文,但上下文未必都是微服务;一个宽而内部模型一致的单体仍是有效选择。拆分首先不能跨过模型冲突边界,再决定边界内是否需要更小服务。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 微服务 · 查看原书依据

      Therefore, the relationship between microservices and bounded contexts is not symmetric. Although microservices are bounded contexts, not every bounded context is a microservice. Bounded contexts, on the other hand, denote the boundaries of the largest valid monolith. Such a monolith should not be confused with a big ball of mud; it’s a viable design option

    参考来源

    - 位置:《Learning Domain-Driven Design》第14章《微服务》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch14.html) - 结论依据:原文区分语言边界与服务粒度,将上下文称为最大有效单体边界。 - 原始内容:Therefore, the relationship between microservices and bounded contexts is not symmetric. Although microservices are bounded contexts, not every bounded context is a microservice. Bounded contexts, on the other hand, denote the boundaries of the largest valid monolith. Such a monolith should not be confused with a big ball of mud; it’s a viable design option