Concurrency in Go (Golang)
The part people come to Go for. Run things at the same time, safely, and stop them when you need to.
- 01GoroutinesStart ten thousand concurrent things with one keyword.Graded challenge
- 02Channels and selectPassing values between goroutines safely, and waiting on several at once.Graded challenge
- 03Mutexes and the race detectorSharing state between goroutines without corrupting it.Graded challenge
- 04ContextCancelling work that nobody is waiting for any more.Graded challenge
- 05Concurrency patternsRun once, wait for many, stop on the first error, cap the parallelism, and never leak a goroutine.