知识卡片
存储分片把租户分成组
共享数据库无法承载全部租户时,可把不同租户组分配到多个共享存储分片,数据访问层先查询其分片映射。它类似只作用于存储层的pod,可缓解容量和噪声邻居问题,但新增映射、供应与搬迁复杂度,不应早于原生能力评估。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Data Partitioning · 查看原书依据
wants to make a request to a database, its data access library would have to look up the shard that is associated with a given tenant request.
参考来源
- 位置:《Building Multi-Tenant SaaS Architectures》第08章《Data Partitioning》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch08.html)
- 结论依据:原文具体说明共享数据库无法承载全部租户时,可把不同租户组分配到多个共享存储分片,数据访问层先查询其分片映射;本卡据此归纳机制及适用边界。
- 原始内容:wants to make a request to a database, its data access library would have to look up the shard that is associated with a given tenant request.