知识卡片
公共库收拢租户机制
提取上下文、租户化日志、指标和受限客户端若复制到每个服务,会膨胀业务代码并分散策略。公共库集中实现这些机制,业务服务只调用清晰接口;数据访问的套餐映射则可由本服务的DAL或Repository封装,保持存储细节局部化。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Building Multi-Tenant Services · 查看原书依据
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.
参考来源
- 位置:《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.