#62 (Revised) Golang - Mastering Concurrency: Or-Done and Tee Channel Patterns
In this video, we dive deep into advanced concurrency patterns in Golang: the Or-Done and Tee channels. These powerful patterns can help you manage complex data flows in real-time applications, making your Go programs more efficient and resilient. We'll walk through an example scenario where transaction data is broadcasted to two separate pipelines—a Fraud Detection Pipeline and a Customer Analytics Pipeline—to demonstrate how these patterns work in practice. With the Tee channel pattern, we’ll split transaction data so each pipeline processes it independently. Additionally, the Or-Done pattern will allow us to gracefully shut down both pipelines when an error or cancellation occurs. Key topics covered: Implementing the Or-Done function to merge signals from multiple channels for a smooth shutdown. Using the Tee function to duplicate data streams, enabling multiple goroutines to process the same data. Real-life application example: broadcasting transaction data to detect fraud and analyze customer behavior. Resources: Original Video: https://www.codeheim.io/courses/Episo... Source code: https://github.com/code-heim/go_62_or... This tutorial is ideal for those looking to level up their Go concurrency skills. By the end, you’ll understand how to use these patterns to manage goroutines in real-time data processing scenarios. If you’re building high-performance, concurrent applications in Go, this video is a must-watch! 👍 Like, subscribe, and hit the notification bell for more Go tutorials.

#63 Golang - Cobra CLI Explained: Build Advanced CLI Apps

Golang UK Conference 2017 | Arne Claus - Concurrency Patterns in Go

#51 Golang - Mastering Golang Context: Enhance Concurrency Control

Delphi: How work with Pointer, Math Pointer, Vars No-Name, Memory Position, Low Level functions - 03

Android 17 sucks. So I put Linux on a phone.

Go Structured Logging with the slog Package (Golang)

Vector Search and HNSW Explained Visually

Master Go Programming With These Concurrency Patterns (in 40 minutes)

#71 Golang - Master SQLX: Simplify Database Operations

Learning Golang: Concurrency Patterns Fan-In and Fan-Out

Tips for C Programming

#70 Golang - 'Must' Pattern Explained: Idiomatic Error Handling Made Easy

Why the US Navy's "Dead" Railgun Just Fired Again

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Co-Creator of Haskell: Functional Programming, Thinking in Types, Useless Languages | Simon Jones

Is Embedded Systems Still a Good Career in 2026?

Go Concurrency Explained: Go Routines & Channels

Go: Object Oriented and Concurrent (just not the usual way)

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

