知识卡片

普通读书笔记卡 · 2274.h.7.b

聚合导向的收益与边界

理解等级:中级

聚合把业务中密切相关的数据视为一个读写单元,例如工单连同附属信息。整组复制便于集群分布,也减少连接、降低应用对象与存储模型的转换成本。代价在于聚合边界难设计、改边界常需重写数据,跨聚合分析也更困难;它适合以完整领域对象为单位的访问,不能据此断言任何查询都更快。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 拆分操作数据 · 查看原书依据

      Aggregate orientation is the preference to operate on data that is related and has a complex data structure. Aggregate is a term originated in Domain-Driven Design: Tackling Complexity in the Heart of Software by Erik Evans. Think of ticket or customer with all its dependent tables in the Sysops Squad—they are aggregates.

    参考来源

    - 位置:《Software Architecture: The Hard Parts》第06章《拆分操作数据》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch06.xhtml) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:Aggregate orientation is the preference to operate on data that is related and has a complex data structure. Aggregate is a term originated in Domain-Driven Design: Tackling Complexity in the Heart of Software by Erik Evans. Think of ticket or customer with all its dependent tables in the Sysops Squad—they are aggregates.