← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2931.e.2.b.6.a.4

存储负载也塑造服务边界

理解等级:高级

服务封装数据时,要同时考虑数据关系和共享存储的容量约束。错误切分会造成频繁跨服务取数,过于集中又可能让大量租户争用数据库。计算、数据访问模式及隔离要求应共同决定边界,而不能只看服务进程负载。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Building Multi-Tenant Services · 查看原书依据

      must consider how this data will be consumed. Splitting a service along the wrong data boundary could end up leading to extremely chatty services that are constantly in need of data that lives in the scope of some other service.

    参考来源

    - 位置:《Building Multi-Tenant SaaS Architectures》第07章《Building Multi-Tenant Services》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch07.html) - 结论依据:原文具体说明服务封装数据时,要同时考虑数据关系和共享存储的容量约束;本卡据此归纳机制及适用边界。 - 原始内容:must consider how this data will be consumed. Splitting a service along the wrong data boundary could end up leading to extremely chatty services that are constantly in need of data that lives in the scope of some other service.