知识卡片
复制器展开多种处理
复制器将同一输入发送到多个处理流,例如一段视频生成不同格式。也可重复计算并取先完成结果,以额外资源降低慢节点影响。若各次故障独立,1%双失败概率为0.01%,但相关故障不满足该收益;重复处理必须能避免重复副作用,不能仅靠复制就宣称高可靠。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 12. Event-Driven Batch Processing · 查看原书依据
The job of a copier is to take a single stream of work items and duplicate it out into two or more identical streams. This pattern is useful when there are multiple different pieces of work to be done on the same work item. An example of this
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第12章《Chapter 12. Event-Driven Batch Processing》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch12.html)
- 结论依据:原文视频格式与重复执行说明功能分支和冗余;概率结论补明独立条件。
- 原始内容:The job of a copier is to take a single stream of work items and duplicate it out into two or more identical streams. This pattern is useful when there are multiple different pieces of work to be done on the same work item. An example of this