Curriculum
The full syllabus.
Every track and module, with the episode and companion code that cover each one.
Track
Runtime & Engine Internals
How programs are parsed, compiled, laid out in memory, collected, and scheduled.
Companion code
insideruntimedev/runtime-internalsLexical & AST Parsing
How source text becomes tokens, and tokens become a syntax tree.
Tokenizers · Recursive descent · Scope resolution
Bytecode & JIT Compilation
How engines execute code, and when they compile it to machine code.
Bytecode VMs · Inline caches · Deoptimization
Stack vs. Heap Memory Allocation
Where values live, and why some outlive the function that created them.
Stack frames · Escape analysis · Allocators
WatchEpisode · 14:20
Inside the Execution Engine: Stack Frames, Memory Allocation & Call Stack Tracing
runtime-internals/01-execution-frames
Garbage Collection Algorithms
How runtimes find and reclaim memory that is no longer reachable.
Mark and sweep · Generational GC · Write barriers
Concurrency & Event Loops
How a single thread serves thousands of connections.
Threads and schedulers · epoll, kqueue, IOCP · Task queues
WatchEpisode · 16:45
Under the Hood of Async I/O: Non-Blocking Sockets, OS Threads & Event Loops
runtime-internals/02-async-event-loop
Track
Backend & Distributed Systems
The protocols, storage engines, caches, and queues behind every backend request.
Companion code
insideruntimedev/systems-architectureTCP/IP & HTTP/3 Wire Mechanics
What travels on the wire between a request and its response.
Three-way handshake · Congestion control · QUIC streams
Database Storage Engines (B-Trees & LSM)
How databases lay out, log, and find data on disk.
B+Tree pages · Write-ahead log · LSM compaction
WatchEpisode · 18:10
How Databases Store Data on Disk: Pages, WAL Logs & B-Tree Indexing
systems-architecture/01-storage-engines-btree
Caching & Consistency
What a cache gives you, and which guarantees it costs.
Write-through and write-back · Invalidation · Consistency models
Message Queues
How logs and partitions deliver messages, and what delivery guarantees mean.
Append-only logs · Partitioning · Delivery semantics
Linux Containers & Namespaces
What a container is made of, without a virtual machine.
Namespaces · cgroups · OverlayFS
Track
Production Systems Architecture
Building systems that stay fast and reliable under real traffic.
Companion code
insideruntimedev/systems-architectureHigh-Throughput API Design
How APIs stay fast under sustained load.
Connection pooling · Idempotency keys · Batching
Fault Tolerance & Backpressure
How systems shed load instead of failing.
Circuit breakers · Retries with jitter · Bounded queues
Distributed Tracing & Observability
How to follow one request across many services.
Trace context · Spans and sampling · RED and USE metrics
Memory & CPU Profiling
How to find the code that is actually slow.
Flame graphs · Heap snapshots · Sampling profilers