← 返回刚才阅读的位置

知识卡片

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

元数据索引定位租户对象

理解等级:中级

需要按状态、类别等业务属性寻找对象时,可在数据库保存租户键、元数据和对象位置。先以租户语境查询匹配记录,再取回对应对象,避免把复杂检索强加给对象名。数据库与对象访问两侧都仍需要权限约束。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Data Partitioning · 查看原书依据

      It’s here that you may want to introduce a layer between your objects and the database that holds all the metadata and attributes that you want to query on. Figure 8-9 provides a conceptual view of this use case.

    参考来源

    - 位置:《Building Multi-Tenant SaaS Architectures》第08章《Data Partitioning》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch08.html) - 结论依据:原文具体说明需要按状态、类别等业务属性寻找对象时,可在数据库保存租户键、元数据和对象位置;本卡据此归纳机制及适用边界。 - 原始内容:It’s here that you may want to introduce a layer between your objects and the database that holds all the metadata and attributes that you want to query on. Figure 8-9 provides a conceptual view of this use case.