<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/internals-for-interns-b48rbnp0g" -->

---
title: Internals for Interns | daily.dev
description: A deep dive into Go&#x27;s runtime scheduler, explaining the GMP model (Goroutines, Machines/OS threads, Processors) and how they work together. Covers the full...
canonical: https://daily.dev/posts/internals-for-interns-b48rbnp0g
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Internals for Interns | daily.dev
og:description: A deep dive into Go&#x27;s runtime scheduler, explaining the GMP model (Goroutines, Machines/OS threads, Processors) and how they work together. Covers the full...
og:url: https://daily.dev/posts/internals-for-interns-b48rbnp0g
og:image: https://api.daily.dev/og/posts/B48RbNp0G.png
og:image:alt: Internals for Interns
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Internals for Interns

**[Hacker News](https://daily.dev/sources/hn)** · 24 min read · 0 upvotes · 0 comments

## Summary

A deep dive into Go's runtime scheduler, explaining the GMP model (Goroutines, Machines/OS threads, Processors) and how they work together. Covers the full lifecycle of a goroutine from creation and recycling to blocking, system calls, stack growth, and preemption. Explains the scheduling loop in schedule() and findRunnable(), including the search order: GC work, global queue fairness check every 61 ticks, local run queue, global queue, network polling, and work stealing. Also covers spinning threads for responsiveness and goroutine context switching costs (~50–100ns vs 1–2µs for OS threads).

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://internals-for-interns.com/posts/go-runtime-scheduler/>

## Similar posts on daily.dev

- [Starving, sleeping, and yielding: understanding Go's scheduler — Bitfield Consulting](https://daily.dev/posts/starving-sleeping-and-yielding-understanding-go-s-scheduler-bitfield-consulting-xltov9nqu) · Bitfield Consulting · 6 upvotes · 0 comments

---

Tags: [#golang](https://daily.dev/tags/golang)

[View this post on daily.dev](https://daily.dev/posts/internals-for-interns-b48rbnp0g)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Internals for Interns","url":"https://daily.dev/posts/internals-for-interns-b48rbnp0g","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/internals-for-interns-b48rbnp0g"},"datePublished":"2026-03-13T07:07:33.732Z","dateModified":"2026-03-13T07:07:55.885Z","description":"A deep dive into Go's runtime scheduler, explaining the GMP model (Goroutines, Machines/OS threads, Processors) and how they work together. Covers the full...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/25c66f0059447946c2519c3d920afb74?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/25c66f0059447946c2519c3d920afb74?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/internals-for-interns-b48rbnp0g","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"golang","timeRequired":"PT24M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Internals for Interns"}]}
```

