← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 5428.c.1

断连期间保持可恢复一致性

理解等级:高级

移动经过隧道等环境会断网,应设计有限连接或无连接的降级模式,使本地数据完整,连接恢复后计算能继续且结果一致。会话跨Wi-Fi与蜂窝的切换也是需要验证的状态迁移,不能仅看到信号恢复就假定传输已正确续接。窃听、冒充和中间人风险还需独立考虑,本章没有给出通用恢复协议。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 移动系统 · 查看原书依据

      Communication may be lost while the device is in motion (e.g., a smartphone going through a tunnel). The system should be designed so that data integrity is maintained in case of a loss of connectivity, and computation can be resumed without loss of consistency when connectivity returns.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第18章《移动系统》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch18.html) - 结论依据:原文解释移动经过隧道等环境会断网,应设计有限连接或无连接的降级模式,使本地数据完整,连接恢复后计算能继续且结果一致;本章后续机制、例子与条件共同限定本卡,原书经验数字和前景不视为当前实测或现状。 - 原始内容:Communication may be lost while the device is in motion (e.g., a smartphone going through a tunnel). The system should be designed so that data integrity is maintained in case of a loss of connectivity, and computation can be resumed without loss of consistency when connectivity returns.