知识卡片
管道传输不限定本地或远程
管道通常把一个过滤器的输出单向传给下一个,载荷格式可变。若过滤器在同一部署单元,管道可以同步传输,也可通过线程或内嵌消息异步传输;拆成服务后可用远程调用、消息或流。同步与异步是传输时序,单体与分布式是部署边界,应分别判断。载荷过大仍会影响性能。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Pipeline Architecture Style · 查看原书依据
Whether their deployment topology is monolithic or distributed, pipes can be either synchronous or asynchronous.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第12章《Pipeline Architecture Style》(阅读计划第15项;源文件:`OEBPS/ch12.html`)
- 结论依据:原文指出管道单向点对点、单体或远程、同步或异步均可,倾向较小载荷。
- 原始内容:Whether their deployment topology is monolithic or distributed, pipes can be either synchronous or asynchronous.