Explain it in 60 seconds
Go's scheduler and the GMP model
Backend Engineering · Language Runtimes · Experienced
How does Go's runtime schedule goroutines?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- G (goroutine), M (OS thread), P (processor/context).
- GOMAXPROCS Ps, each with run queue.
- Work stealing between Ps.
- Blocking syscalls hand off P.
- Preemption since Go 1.14.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.