Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pipes and Filters

Pipes and Filters

Presentation about the pipes and filters architectural style

Duarte Duarte

March 03, 2015

Transcript

9 slides
  1. Pipes & Filters Arquitectura de Sistemas de Software 2014/2015 Duarte

    Duarte João Sá Luís Cleto Miguel Marques
  2. Data communication Output from one filter is conduit through a

    pipe and is the input of another filter.
  3. Specialization • Pipelines: linear sequence of filters • Bounded pipes:limited

    amount of data on a pipe • Typed pipes: the data between two filters should have a well-defined type
  4. Pros • Simple composition • Reuse (any two filters can

    be hooked together) • Easily maintained and enhanced • No interactivity • No incremental display updates • Increased complexity • Requires idempotency Cons
  5. Example: Function Composition In Haskell: can be turned into effectively

    creating a filter ‘fn’ from a collection of filters and pipes

More Decks by Duarte Duarte

Other Decks in Programming