Runtime & memory
Understand what happens beneath your code.
- 01Garbage collection & write barriers
- 02The GMP scheduler
- 03Memory allocation
- 04Preemption
- 05Escape analysis
The Go Backend Interview Playbook
From goroutines to garbage collection. Build a clear mental model of Go’s internals—and give answers that hold up to the next question.
package mainfunc main() { go work()}// Who runs this goroutine?G is a goroutine. M is an operating-system thread. P is the scheduler resource required to execute Go code. An M normally needs a P to run a G.
01 / THE SYLLABUS
Follow the full syllabus or jump straight to the topic you need to brush up on.
Understand what happens beneath your code.
Reason about the goroutines working together.
Get the details right when follow-ups get specific.
02 / THE APPROACH
Knowing an API is one thing. Explaining what happens underneath is what makes an interview answer convincing.
Get the essential idea across in 30 seconds. Then follow the reasoning into the details.
Separate language guarantees from scheduler, collector, and map implementation details.
Build intuition for contention, goroutine leaks, deadlocks, and shutdown behavior.
03 / START HERE · FREE
Every 30-second answer from Part I, in one handy PDF. Read it before you buy, or keep it for a quick refresh.
Download the free edition5 pages · English PDF · No email requiredHow does Go garbage collection work?
What do G, M, and P represent?
How does Go allocate objects?
What does a channel maintain?
BUILT FOR YOUR NEXT TECHNICAL ROUND
Mid-level and senior backend engineers, developers moving into Go, and interviewers refreshing their technical questions.
If you’re learning your first language or looking only for algorithm drills, this guide isn’t designed for that stage.
04 / THE COMPLETE EDITION
Go Runtime & Concurrency Interview Playbook
One payment. Yours to keep.
05 / A FEW MORE ANSWERS
A 31-page English PDF with 15 core topics, concise answers, deeper explanations, code examples, and an extended question bank. It is a one-time purchase for personal use.
All 14 answers explicitly labeled “30-second answer” in Part I, collected into a 5-page PDF. The complete edition adds deeper reasoning, implementation details, code, and the extended question bank.
When checkout is available, confirmed PayPal payments unlock a download on the success page. An order download link is also sent to your PayPal email. The order link lasts 7 days and allows up to 5 download-link requests.
Yes. This guide is for engineers who already write Go and are preparing for mid-level or senior backend interviews. It is not a first programming course or a collection of algorithm drills.
The guide separates language guarantees from implementation details and includes version-sensitive notes. Runtime internals should always be checked against the Go release you are discussing.