知识卡片
工作流需要整体蓝图
把队列输出连接到下游输入,可形成由完成事件推进的批处理工作流。单个步骤简单不意味着整体简单,分支、依赖与错误恢复需要在图中可见,才能判断什么完成、什么仍在等待。图式应描述真实处理关系,不能只画成功路径而忽略失败与重试。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 12. Event-Driven Batch Processing · 查看原书依据
there is a flow of work through a directed, acyclic graph that describes the various stages and their coordination. A basic illustration of such a system is shown in Figure 12-1. The most straightforward application of this type of system simply chains the output of one queue
参考来源
- 位置:《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)
- 结论依据:原文将队列连接为DAG并指出缺少整体蓝图与错误处理的理解成本。
- 原始内容:there is a flow of work through a directed, acyclic graph that describes the various stages and their coordination. A basic illustration of such a system is shown in Figure 12-1. The most straightforward application of this type of system simply chains the output of one queue