Go · Go in production
How the Go Scheduler Works: G, M and P Explained With What You See in pprof
The Go scheduler multiplexes goroutines (G) onto OS threads (M) via per-P run queues, with a global queue, work stealing and handoff on blocking syscalls.