Concurrency for beginners
summary
Implements MergeSort (O(n log n)) first sequentially, then with goroutines + WaitGroup which still blocks and slows because it waits for both halves, then reworks it to stream sorted elements via channels as streaming pipes to merge without full-buffer waits; explains channel semantics (sender/receiver, zero buffer blocks, close signals). Describes a production CLI that talks to multiple backends taking 5–10 minutes each (30–60m total) and solves progress reporting by building per-backend channels that the front end aggregates with no extra DB or logging.
AI-written summary · about
related talks
24mMastering Concurrency in Go: From Patterns to Production
16mIn the land of Gophers from age 3
18mApplied concurrency in Go
34mGo concurrency in the real world
48mBlazing Fast Merge with Loser Trees
01h 27mFlash Talks – Ajinkya Karanjikar
41mDetecting and Fixing Unbound Concurrency Problems
39mLet's talk concurrency
