Parallel Pipeline Pattern

Learn the Parallel Pipeline design pattern and its usage.


This pattern allows concurrent execution of the steps of a multistep process by maintaining the message order. The Parallel Pipeline pattern is also known as the Pipeline pattern.

Context and problem

The free performance lunch has been over for more than ten years now. The CPU clock speed has stopped increasing in favor of a number of cores. Software written for sequential execution is not getting faster on newer CPUs. The software has to be built for parallel processing to gain an advantage of the increasing number of cores. To illustrate the problem, let’s have a look at the following banking example with an ATM processing flow that consists of four steps:

Get hands-on with 1200+ tech skills courses.