知识卡片
共享栈运行时解析租户
全栈共享中资源属于多个租户,同一服务每次请求都要重新取得租户上下文,并用于数据、日志、指标和下游调用。专用服务可在部署时固定租户绑定;共享服务不能把这种固定配置沿用到所有请求。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Multi-Tenant Deployment Models · 查看原书依据
the tenant does not change at runtime). However, a pooled resource is provisioned and deployed for all tenants and must resolve its tenant context based on the nature of each request it processes.
参考来源
- 位置:《Building Multi-Tenant SaaS Architectures》第03章《Multi-Tenant Deployment Models》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch03.html)
- 结论依据:原文具体说明全栈共享中资源属于多个租户,同一服务每次请求都要重新取得租户上下文,并用于数据、日志、指标和下游调用;本卡据此归纳机制及适用边界。
- 原始内容:the tenant does not change at runtime). However, a pooled resource is provisioned and deployed for all tenants and must resolve its tenant context based on the nature of each request it processes.