知识卡片
滚动更新须兼容共存
滚动期间新旧实例共处一个逻辑服务,因此状态结构、内部事件schema和拓扑必须兼容。需要重建状态或改变内部连接的修改不能仅逐实例替换。应自动检查兼容性并确认混合版本语义,减少人为误判;持续有实例运行也不等于没有再平衡暂停。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Deploying Event-Driven Microservices · 查看原书依据
The rolling update pattern can be used to keep a service running while updating the individual microservice instances. Its prerequisites include the following: No breaking changes to any state stores No breaking changes to the internal microservice topology (particularly relevant for implementations using lightweight frameworks)
参考来源
- 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第16章《Deploying Event-Driven Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch16.xhtml;规范化段落起句:The rolling update pattern can be used)
- 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:滚动期间新旧实例共处一个逻辑服务,因此状态结构、内部事件schema和拓扑必须兼容。本卡同时保留其适用条件与失败边界。
- 原始内容:The rolling update pattern can be used to keep a service running while updating the individual microservice instances. Its prerequisites include the following: No breaking changes to any state stores No breaking changes to the internal microservice topology (particularly relevant for implementations using lightweight frameworks)