知识卡片
在线升级利用替换与冗余
在线升级旨在替换执行代码而不影响服务。函数补丁保留入口出口并加载新函数,类补丁依赖运行时支持增加成员,ISSU则借冗余备用切换代码与模式。前两者在本章主要用于修复,后者用于功能升级;不同平台支持不同,不能把补丁机制当所有语言的通用能力。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 第04章 可用性
原书出处 · 1 处
- 可用性 · 查看原书依据
The goal of this tactic is to achieve in-service upgrades to executable code images in a non-service-affecting manner. Strategies include the following: • Function patch. This kind of patch, which is used in procedural programming, employs an incremental linker/loader to store an updated software function into a pre-allocated segment of target memory.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第4章《可用性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch04.html)
- 结论依据:原文的定义、机制或比较支持“在线升级旨在替换执行代码而不影响服务”;正文保留其条件与取舍。
- 原始内容:The goal of this tactic is to achieve in-service upgrades to executable code images in a non-service-affecting manner. Strategies include the following: • Function patch. This kind of patch, which is used in procedural programming, employs an incremental linker/loader to store an updated software function into a pre-allocated segment of target memory.