知识卡片
清理步骤依赖产物完整性
图像处理先检测并模糊敏感区域,全部成功后才允许删除原图,以保留重跑可能。屏障表达这种前置条件,复制器再把后续清理和识别统计分成两条支线。真正清理前还需验证产物可用和批次完整,屏障只协调状态,不自动验证模糊质量或授权删除。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 13. Coordinated Batch Processing · 查看原书依据
we don’t want to delete the original until all of the images have been successfully blurred in case there is some sort of catastrophic failure and we need to rerun this entire pipeline. Thus, to wait for all of the blurring to complete, we use the join pattern
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第13章《Chapter 13. Coordinated Batch Processing》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch13.html)
- 结论依据:原文图像流水线展示join保护清理前置条件及多worker、copier、reduce组合。
- 原始内容:we don’t want to delete the original until all of the images have been successfully blurred in case there is some sort of catastrophic failure and we need to rerun this entire pipeline. Thus, to wait for all of the blurring to complete, we use the join pattern