← Go Concurrency Patterns
Full Examples
Complete examples for each lesson. Copy and run locally or in the linked playground.
01. Concurrency Refresher
- 📄 Channel Basics · Go Playground
- 📄 WaitGroup Demo · Go Playground
02. Context Deep Dive
- 📄 Context Cancel & Timeout · Go Playground
03. Pipeline Pattern
- 📄 Pipeline · Go Playground
- 📄 Log Processing Pipeline · Go Playground
04. Fan-Out / Fan-In
- 📄 Fan-Out Fan-In · Go Playground
05. Worker Pools
- 📄 Worker Pool · Go Playground
06. Rate Limiting & Throttling
- 📄 Rate Limiter · Go Playground
07. Semaphore & Bounded Concurrency
- 📄 Semaphore · Go Playground
- 📄 S3 JSONL Pipeline · run locally
08. Error Handling in Concurrent Code
- 📄 Errgroup · run locally
09. sync & atomic Primitives
- 📄 Sync Primitives · Go Playground
10. Deadlocks & Race Conditions
- 📄 Goroutine Leak Detector · run locally
11. Classic Problems
- 📄 Dining Philosophers · Go Playground
- 📄 Producer Consumer · Go Playground
- 📄 Pizza Shop · Go Playground
12. Build: Concurrent Web Scraper
- 📄 Web Scraper · run locally