知识卡片
配置边车衔接文件与API
配置管理边车从远程API取得配置,写入与应用共享的目录,再以文件监视、重载信号或受控重启让应用采用新值。它把云端配置接口与旧程序的本地文件接口衔接起来;关键是明确应用真正何时加载成功,不能把文件已下载视为配置已生效。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 3. The Sidecar Pattern · 查看原书依据
When the configuration manager starts, it examines the configuration API and looks for differences between the local filesystem and the configuration stored in the API. If there are differences, the configuration manager downloads the new configuration to the local filesystem and signals to the legacy application that it
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第03章《Chapter 3. The Sidecar Pattern》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch03.html)
- 结论依据:原文给出比较、下载、通知及不同应用重载方式。
- 原始内容:When the configuration manager starts, it examines the configuration API and looks for differences between the local filesystem and the configuration stored in the API. If there are differences, the configuration manager downloads the new configuration to the local filesystem and signals to the legacy application that it