知识卡片

普通读书笔记卡 · 5367.c

委托所有权的两种优先级

理解等级:高级

委托法选一个服务独占表,其他服务经它读写。可按领域优先,让主要CRUD所属服务持有;也可按运行特性优先,让高频库存更新者持有,以减少关键路径远程调用。后者可能迫使库存服务承担产品维护等异域职责。通常先保领域责任,再用缓存等方式改善读取;非拥有者写入仍承担网络、故障与非原子工作流代价。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 数据所有权与分布式事务 · 查看原书依据

      The first option, called primary domain priority, assigns table ownership to the service that most closely represents the primary domain of the data—in other words, the service that does most of the primary entity CRUD operations for the particular entity within that domain. The second option, called operational characteristics priority, assigns table ownership to the service needing higher operational architecture characteristics, such as performance, scalability, availability, and throughput.

    参考来源

    - 位置:《Software Architecture: The Hard Parts》第09章《数据所有权与分布式事务》(来源项目: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/ch09.xhtml) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:The first option, called primary domain priority, assigns table ownership to the service that most closely represents the primary domain of the data—in other words, the service that does most of the primary entity CRUD operations for the particular entity within that domain. The second option, called operational characteristics priority, assigns table ownership to the service needing higher operational architecture characteristics, such as performance, scalability, availability, and throughput.