知识卡片

普通读书笔记卡 · 1841.h.1.a.1.a.3.f.1.h

多类型存储服从领域

理解等级:高级

领域边界独立后,可以为目录、分析或交易选择更匹配的持久化类型,避免一个模型勉强承载全部用途。收益来自对问题的匹配,代价包括多种技术运维、数据同步及事务变化。不能因为拆了单体,就默认每个服务必须换数据库。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Evolutionary Data · 查看原书依据

      When breaking apart the monolith, teams may rethink their persistence as well. For example, for cataloging and categorizing analytics, a graph database might be better. For some problem domains, name/value pair databases provide better options. One of the beneficial features of highly distributed architectures such as microservices lies with architects’ ability to choose different persistence mechanisms based on the problem rather than an arbitrary standard.

    参考来源

    - 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第06章《Evolutionary Data》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch06.html;段落定位:One of the beneficial features of highly distributed architectures) - 结论依据:原文对“多类型存储服从领域”的定义或案例,支撑“领域边界独立后,可以为目录、分析或交易选择更匹配的持久化类型,避免一个模型勉强承载全部用途”的归纳。据其上下文,收益来自对问题的匹配,代价包括多种技术运维、数据同步及事务变化。 - 原始内容:When breaking apart the monolith, teams may rethink their persistence as well. For example, for cataloging and categorizing analytics, a graph database might be better. For some problem domains, name/value pair databases provide better options. One of the beneficial features of highly distributed architectures such as microservices lies with architects’ ability to choose different persistence mechanisms based on the problem rather than an arbitrary standard.