...

/

Pipeline Design Pattern

Pipeline Design Pattern

Learn how to implement the Pipeline design pattern in Kotlin.

We'll cover the following...

The Pipeline design pattern allows us to scale heterogeneous work, consisting of multiple steps of varying complexity across multiple CPUs, by breaking the work into smaller, concurrent pieces. Let’s look at the following example to understand it better.

Press + to interact

We made an HTML page parser in “Getting Familiar with Behavioral Patterns”. It was assumed that the HTML pages themselves were already fetched for us, ...