知识卡片
上传状态区分待传与完成
元数据先建立待上传状态,块服务器完成分块、压缩、加密和存储后,再将状态改为完成并通知其他客户端。元数据已建立不代表文件已可完整下载,两个阶段不能用同一完成标记掩盖。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
- · 第15章 云盘
原书出处 · 1 处
- 云盘 · 查看原书依据
Upload flow Let us discuss what happens when a client uploads a file. To better understand the flow, we draw the sequence diagram as shown in Figure 15-14. In Figure 15-14, two requests are sent in parallel: add file metadata and upload the file to cloud storage. Both requests originate from client 1. •Add file metadata. 1. Client 1 sends a request to add the
参考来源
- 位置:《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)
- 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。
- 原始内容:Upload flow Let us discuss what happens when a client uploads a file. To better understand the flow, we draw the sequence diagram as shown in Figure 15-14. In Figure 15-14, two requests are sent in parallel: add file metadata and upload the file to cloud storage. Both requests originate from client 1. •Add file metadata. 1. Client 1 sends a request to add the