← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1979.n.1.b.2.a

存储回载与编排解耦

理解等级:中级

替换有数据的资源前先备份,创建后再恢复,可用平台快照或相应数据备份机制。部署编排只负责触发,不应硬编码表结构等存储实现;生命周期钩子、标签或配置可把资源销毁前保存、创建后加载的动作交给专属逻辑,控制包装脚本耦合。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 变更既有基础设施 · 查看原书依据

      Keep orchestration scripts simple by separating the concerns of orchestrating and implementing the backups and restore. Avoid encoding details of a system’s storage, such as database table structures, in the deployment process. An event-based store-and-load process may help separate these concerns. Your infrastructure code tool

    参考来源

    - 位置:《Infrastructure As Code》第20章《变更既有基础设施》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch20.html) - 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“替换有数据的资源前先备份,创建后再恢复,可用平台快照或相应数据备份机制”这一核心结论;正文的用途与边界据同小节后续论述整理。 - 原始内容:Keep orchestration scripts simple by separating the concerns of orchestrating and implementing the backups and restore. Avoid encoding details of a system’s storage, such as database table structures, in the deployment process. An event-based store-and-load process may help separate these concerns. Your infrastructure code tool