Chapter 2

Goroutines

Go surgery: understanding goroutines and their innards

✓ Understand goroutine states ✓ Learn about the Go scheduler ✓ Debug goroutine leaks
1
Go Surgery
A goroutine and its innards - based on Emmanuel Odeke's Gopherpalooza 2018 talk
orijtech.github.io/talks/2018/10/12/gopherpalooza/go_surgery.htm +30 XP advanced
2
Goroutine States
Understand the different states a goroutine can be in: Running, Runnable, Waiting, Syscall, Dead
orijtech.github.io/talks/2018/10/12/gopherpalooza/go_surgery.htm#20 +25 XP advanced
3
Simple Goroutine Leak Detector
Build a simple goroutine leak detector using runtime.Stack
orijtech.github.io/talks/2018/10/12/gopherpalooza/go_surgery.htm#40 +35 XP advanced