知识卡片
管道架构由过滤器和管道组成
过滤器负责一个处理步骤,管道把其输出单向交给下一个过滤器。业务流程由这些步骤按顺序组合;图中的生产者、转换器、测试器和消费者是角色,不要求每个流程恰好各有一个。逻辑上的单向处理也不意味着各过滤器必须分进程部署。
结构图:
flowchart LR
A[生产者过滤器] -->|管道| B[转换器过滤器]
B -->|管道| C[测试器过滤器]
C -->|通过时| D[消费者过滤器]
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Pipeline Architecture Style · 查看原书依据
Filters contain the system functionality and perform a specific business function, and pipes transfer data to the next filter (or filters) in the chain.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第12章《Pipeline Architecture Style》(阅读计划第15项;源文件:`OEBPS/ch12.html`)
- 结论依据:原文定义两类组件及单向连接;角色数量和部署边界是由定义推出的澄清。
- 原始内容:Filters contain the system functionality and perform a specific business function, and pipes transfer data to the next filter (or filters) in the chain.