← 返回刚才阅读的位置

知识卡片

结构图卡 · 2275.as.6.f.3.e.1

协作量子异步分开两类数据

理解等级:高级

操作服务与其DPQ构成协作量子:运行可分开、内部契约紧密,操作到分析的数据传播采用异步与最终一致;面向分析消费者的契约一般更宽松。若要求两个量子的每次变化都在整体事务中同步,就失去了把分析负载与操作服务正交分离的目的。分析查询DPQ可以同步或异步,这不同于操作服务向DPQ传播更新的约束。

结构图:

flowchart LR
    A[领域操作服务] -->|异步更新 最终一致 紧契约| B[领域DPQ]
    B -->|独立分析契约| C[分析量子]
    D[其他领域DPQ] --> C

[[数据产品量子承担分析接口]]解释DPQ的产品职责,这里进一步限定它与操作服务的同步边界。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 管理分析数据 · 查看原书依据

      An operationally separate quantum that communicates with its cooperator via asynchronous communication and eventual consistency, yet features tight contract coupling with its cooperator and generally looser contract coupling to the analytics quantum, the service responsible for reports, analysis, business intelligence, and so on. While the two cooperating quanta are operationally independent, they represent two sides of data: operational data in the quantum and analytical data in the data product quantum.

    参考来源

    - 位置:《Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)》第14章《Chapter 14. Managing Analytical Data》(来源项目: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/ch14.xhtml) - 结论依据:原文的定义、示例或失败路径支持以下归纳:操作服务与其DPQ构成协作量子:运行可分开、内部契约紧密,操作到分析的数据传播采用异步与最终一致;面向分析消费者的契约一般更宽松。 其他条件结合本章同小节说明;不将模式目标当成已有运行保证。 - 原始内容:An operationally separate quantum that communicates with its cooperator via asynchronous communication and eventual consistency, yet features tight contract coupling with its cooperator and generally looser contract coupling to the analytics quantum, the service responsible for reports, analysis, business intelligence, and so on. While the two cooperating quanta are operationally independent, they represent two sides of data: operational data in the quantum and analytical data in the data product quantum.