← 返回刚才阅读的位置

知识卡片

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

公共库收拢租户机制

理解等级:中级

提取上下文、租户化日志、指标和受限客户端若复制到每个服务,会膨胀业务代码并分散策略。公共库集中实现这些机制,业务服务只调用清晰接口;数据访问的套餐映射则可由本服务的DAL或Repository封装,保持存储细节局部化。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《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) - 结论依据:原文具体说明提取上下文、租户化日志、指标和受限客户端若复制到每个服务,会膨胀业务代码并分散策略;本卡据此归纳机制及适用边界。 - 原始内容:and tenant isolation code that we covered earlier. Each one of these areas can be addressed through the introduction of libraries that standardize the handling of these multi-tenant concepts.