Book Image

Software Architecture with Spring 5.0

By : René Enríquez, Alberto Salazar
Book Image

Software Architecture with Spring 5.0

By: René Enríquez, Alberto Salazar

Overview of this book

Spring 5 and its ecosystem can be used to build robust architectures effectively. Software architecture is the underlying piece that helps us accomplish our business goals whilst supporting the features that a product demands. This book explains in detail how to choose the right architecture and apply best practices during your software development cycle to avoid technical debt and support every business requirement. Choosing the right architecture model to support your business requirements is one of the key decisions you need to take when a new product is being created from scratch or is being refactored to support new business demands. This book gives you insights into the most common architectural models and guides you when and where they can be used. During this journey, you’ll see cutting-edge technologies surrounding the Spring products, and understand how to use agile techniques such as DevOps and continuous delivery to take your software to production effectively. By the end of this book, you’ll not only know the ins and outs of Spring, but also be able to make critical design decisions that surpass your clients’ expectations.
Table of Contents (21 chapters)
Title Page
Copyright and Credits
Packt Upsell

Introducing Pipe-and-Filter concepts

Pipe-and-Filter architecture refers to a style of architecture that was introduced in the early 1970s. In this section, we will introduce Pipe-and-Filter architecture, along with concepts such as filters and pipes. 

Doug McIlroy introduced Pipe-and-Filter architecture in Unix in 1972. The implementations are also known as pipelines, and they consist of a chain of processing elements, arranged so that the output of each element is the input of the next one, as illustrated in the following diagram:

As shown in the preceding diagram, Pipe-and-Filter architecture consists of several components, named filters, that can transform (or filter) data across the process. The data is then passed to other components (filters) via pipes that are connected to each component.


Filters are components that serve to transform (or filter) data that is received as an input from a previous component via pipes (connectors). Each filter has an input pipe and an output pipe...