Month 3-Concurrency Mastery: Channels, Atomics, Context, Patterns¶
Goal: by the end of week 12 you can (a) implement a correct lock-free single-producer single-consumer ring buffer using sync/atomic, (b) read the channel send path in runtime/chan.go and explain chansend1 line-by-line, (c) detect goroutine leaks before they reach production, and (d) design a worker-pool that survives backpressure, partial failures, and graceful shutdown.
Weeks¶
- Week 9 - Channels, Deeply
- Week 10 -
syncPrimitives andsync/atomic - Week 11 -
context.Context, Cancellation, errgroup, singleflight - Week 12 - Worker Pools, Leak Detection, Deadlock Prevention