Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

Multistage processing

The key concept behind pipelining is to break down a complex processing task into a series of smaller steps or stages that can be executed independently of each other and in a predefined order. Multistage processing, as an idea, also seems to resonate quite well with the single-responsibility principle that we discussed in Chapter 2, Best Practices for Writing Clean and Maintainable Go Code.

When assembling a multistage pipeline, the end user is expected to provide a set of functions, or processors, that will be applied to incoming payloads as they flow through each stage of the pipeline. I will be referring to these functions with the notation Fi, where i corresponds to a stage number.

Under normal circumstances, the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content