Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7181871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:38:55+00:00 2026-05-28T17:38:55+00:00

Few questions on Pipe and Filter. In this example, as illustrated on the image

  • 0

Few questions on Pipe and Filter.

enter image description here

In this example, as illustrated on the image above, when implemented:

  1. Should each Pipe be running in a separate thread?
  2. Should each Filter be running in a separate thread?
  3. Is it fair to say that Pump only “knows” of the first Pipe it sees and knows nothing to the rest of the world? Additionally, is it fair to say that each component “knows” only about components one before and one after?

In other words, a Filter will check to see if there is data ready for it to pick up and process and then and only then 1. handle it and 2. pass it to the next pipe?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:38:56+00:00Added an answer on May 28, 2026 at 5:38 pm

    Pipe and filter is an application of divide-et-impera which, using modularity, aims at easiness of implementation, and versatility through configuration of the modules involved.

    It finds the most usefulness when solving a problem which involves several processing runs of a source stream or object or signal, and request production of a modified stream or object or signal of the same type.

    It is based on simple small processing units called filters, all of them following the same contract (they get the same object/stream type and optional parameters in input, and return the processed stream/object). Each filter input can be connected to a (another or also another instance of itself) filter output, or to the source (called pump), similarly each filter output can be connected to a filter input or to the architecture return object/steam (called sink). The connection units are called pipes and are used by a manager class to route the stream/object/signal through different steps of processing done in the filters.

    The deal in specifying a contract is that each filter can act autonomously without knowing nothing else about other filters, or about the whole flow processing. That means filters can also been interchanged transparently, generating different final results.

    While filter instances could run simultaneously on different streams, pipe and filter pattern is not generally used for concurrent operation, because each filter would mostly require access to the same resource.

    • software example: filters in image processing
    • real world example: pedal effects processing sound signal between guitar and amp.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are a few questions about configuring Apache for local development, such as this
I have a few questions about this after reading the iPhone documentation on it:
I have a few questions about boost::regex: I tried an example below. 1) What
I know there are few questions regarding this issue of 'getView called few times'
There are a few questions similar to this on SO, I've read this one
I have a few questions regarding android source code download, repo / git. This
I found a few questions related to this around here but not exactly what
A few questions about Castle Windsor. I have a service that looks like this:
a few questions about vs.net 2010 tfs in a multi developer environment: 1. should
I have a few questions about this function from John Resig's exercise #19 in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.