软件体系结构:管道过滤器 (Pipes and Filters) 管道过滤器风格的特征 以数据流向的过程为核心,因此也被称为:数据流风格 过滤器自身功能独立而完整,不需要知道其他过滤器的存在与否,相互之间无状态交互 过滤器对输入的数据流有限制,并必须保证输出流的正确性 系统内,各部分的执行与整体系统的最终输出不相关 适用于无...
In this chapter, we will discuss in detail about pipes and filters in Unix. You can connect two commands together so that the output from one program becomes the input of the next program. Two or more commands connected in this way form a pipe....
每个处理步骤都由过滤器组件实现。过滤器一边使用数据一边提供数据,而不是等到获得所有输入后才生成输出。这降低了延迟,实现了真正的并行处理。 系统的输入由数据源提供,而输出进入数据接收器。数据源、过滤器、数据接收器通过管道依次相连,每条管道都在相邻处理步骤之间传输数据。由管道连接的过滤器序列称为处理流水线。
Pipeline filters, environmental protection equipment (muffler, water treatment equipment), static mixer, gas drainage, point valve box 翻译结果3复制译文编辑译文朗读译文返回顶部 Pipes and filters, environmental protection equipment (muffler, water treatment equipment), static mixer, gas drainer, valve boxes...
管道和过滤器模式 Pipes and Filters Pattern 描述 把复杂的任务分解成一系列可以重复执行的单元。这种模式通过独立部署任务的方式来提高性能,可扩展性和可重用性。 背景和问题 一个应用程序可能需要执行各种不同的复杂任务。拆解这些复杂的任务,可以提高各个部件的重用率。
1) pipes and filters pattern 管道与过滤器模式 2) Pipes and Filters 管道与过滤器 1. Based on the shortcoming of requirement inconstancy existing in document flow system design during the construction of e-government, this paper introduces how to incorporate the Class Inheritance、Composite Reuse Prin...
1) Pipes and Filters Pipes and Filters 2) Bloom filters Bloom filters 1. In order to solve the above problems,the method to useBloom filtersas the resource routing was briefly introduced,and the distance-weightedBloom filters(dwBFs) as a concise representation of routing information for scattered...
Figure 2 - A solution implemented by using pipes and filters The time taken to process a single request depends on the speed of the slowest filter in the pipeline. It is possible that one or more filters could prove to be a bottleneck, especially if a large number of requests appear in ...
The usage of Pipes and Filters pattern is limited to systems where the order in which filters are processed is strongly determined and sequential in nature. The pattern applies to problems where it is natural to decompose the computation into a collection of semi-independent tasks. In the Pipelin...
Reorder filters, when necessary Run filters on differing hardware, where required Run filters in parallel This diagram shows a solution implemented with pipes and filters: The time it takes to process a single request depends on the speed of the slowest filters in the pipeline. One or more filt...