The BEST Concurrency Pattern: Pipelines in Go | Golang for Devs

Pipelines are one of the most important concurrency patterns in Go. Watch to see the full path from a basic pipeline the my ideal implementation, plus how to split and merge channels. ============================== Other Resources ============================== Video’s Golang for Devs Playlist →    • Golang for Devs   Concurrency Basics →    • Concurrency in Go: Tricky, But Awesome | G...   Concurrency Model and Scheduler →    • Go’s Secret Sauce: The Concurrency Model |...   Basic Concurrency Patterns →    • You NEED to Know These Concurrency Pattern...   Coordination Primitives →    • Go’s Forgotten Concurrency Coordination Pr...   Concurrency Mistakes →    • Stop Making These Concurrency Mistakes | G...   Code and Diagrams https://github.com/chriselderxyz/yout... Docs Official Go Blog on Pipelines → https://go.dev/blog/pipelines Basic Channel Merge Example → https://pkg.go.dev/context#example-Af... ============================== About Me ============================== Software dev with 6+ years of concussion disability, getting back into the game one step at a time. Socials:   / chriselderxyz   ============================== Video Chapters ============================== 00:00 - Intro 00:18 - What are Pipelines 00:52 - Basic Pipeline Implementation 05:36 - Closed Channel Problem 07:43 - Closed Channel Fix 08:29 - Blocked Send Problem 10:29 - Blocked Send Fix 11:53 - CancelOrSend 13:13 - CancelOrReceive - Official 16:10 - CancelOrReceive - Better 19:07 - Run Function 23:14 - Run + Workers 26:17 - Run + Buffers 26:57 - Splitting Channels 32:57 - Merging Channels 36:01 - Outro ============================== Original Go gopher art: Creator: Renee French Source: https://golang.org/doc/gopher/ License: CC BY 3.0 — https://creativecommons.org/licenses/... Vector Go gopher art: Creator: Takuya Ueda Source: https://github.com/golang-samples/gop... License: CC BY 3.0 — https://creativecommons.org/licenses/... Modified from the original