知识卡片

普通读书笔记卡 · 3400

共享库不得穿透服务账号边界

理解等级:高级

内部共享库可能访问跨服务数据库或托管资源,形成隐藏耦合。即使云账号提供物理隔离,也应审查平台库和部署、观测库是否跨账号取得过大权限。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第8章《Embracing New Technology》(源文件:`_epub-src/OPS/ch08.xhtml`,归一化正文 [21124:25310)) - 结论依据:原文警告全局共享库可跨账号破坏隔离并重建分布式单体。 - 原始内容:If you have one account for everything, internal shared libraries represent risk; that library could be talking to shared databases, shared managed services, and multiple ways that can create a distributed monolith. If you have one account per service or per business domain, you are somewhat shielded; that library can likely only access the services within its account, which limits the potential damage.