← Go Concurrency Patterns
Full Examples
Complete examples for each lesson.
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
- 📄 Google Search (Rob Pike) · Go Playground
- 📄 Streaming Ordered Results · 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
- 📄 Singleflight · Go Playground
10. Deadlocks & Race Conditions
- 📄 Goroutine Leak Detector · run locally
- 📄 Naive Subscription Bugs · Go Playground
11. Classic Problems
- 📄 Dining Philosophers · Go Playground
- 📄 Producer Consumer · Go Playground
- 📄 Pizza Shop · Go Playground
12. Channel Patterns
- 📄 Merge Subscriptions · Go Playground
13. Build: Concurrent Web Scraper
- 📄 Web Scraper · run locally