知识卡片
文件变更通知触发拉取
通知服务告诉客户端文件有变化,客户端再取元数据并下载所需块;离线客户端回来后补取变更。通知不承担传输完整文件的职责,低频单向变更通知可用长轮询,不必一律采用双向 WebSocket。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
- · 第15章 云盘
原书出处 · 1 处
- 云盘 · 查看原书依据
Download flow Download flow is triggered when a file is added or edited elsewhere. How does a client know if a file is added or edited by another client? There are two ways a client can know: •If client A is online while a file is changed by another client, notification service will inform client A that changes are made somewhere so it needs to
参考来源
- 位置:《System Design Interview – An insiders guide, Second Edition》第15章《云盘》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0035_split_003.html)
- 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。
- 原始内容:Download flow Download flow is triggered when a file is added or edited elsewhere. How does a client know if a file is added or edited by another client? There are two ways a client can know: •If client A is online while a file is changed by another client, notification service will inform client A that changes are made somewhere so it needs to