Analyze Pipes and Filters Architectures

The architectural pattern Pipes and Filters is useful whenever you want to process an input as a sequence of steps, where each step encapsulates a certain transformation. It’s a popular pattern in web frameworks. A browser request serves as the input event, triggering a sequence of authentication, validation, and other steps before the result is returned.

The core idea in Pipes and Filters is to “divide the application’s task into several self-contained data processing steps” (quotation from Pattern-Oriented Software Architecture Volume 4: A Pattern Language for Distributed Computing [BHS07]). Based on that description, we can agree that any Pipes and Filters implementation with coupled processing steps ...

Get Your Code as a Crime Scene, Second Edition, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.