知识卡片
共享存储不必总用动态权限
书中对共享表采用按请求取得受限凭证的示例,适用于同一计算处理多个租户。不能从共享表直接推出无法使用部署时权限:若计算固定服务一个租户,仍可把其权限限制到该租户条目。关键是权限语境是否随请求变化,而非只看数据是否混放。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- EKS (Kubernetes) SaaS: Architecture Patterns and Strategies · 查看原书依据
our Product microservices running in separate, siloed namespaces. The compute may be siloed, but the diagram also shows a shared Product table that stores data for all tenants. Because this data is pooled, we cannot use the IRSA mechanism that was used to isolate our order tables. Instead, the code in our Product microservice is required to examine the tenant
参考来源
- 位置:《Building Multi-Tenant SaaS Architectures》第10章《EKS (Kubernetes) SaaS: Architecture Patterns and Strategies》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch10.html)
- 结论依据:原文具体说明书中对共享表采用按请求取得受限凭证的示例,适用于同一计算处理多个租户;本卡据此归纳机制及适用边界。
- 原始内容:our Product microservices running in separate, siloed namespaces. The compute may be siloed, but the diagram also shows a shared Product table that stores data for all tenants. Because this data is pooled, we cannot use the IRSA mechanism that was used to isolate our order tables. Instead, the code in our Product microservice is required to examine the tenant