Skip to content

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-internals
  1. Lexical & AST Parsing

    How source text becomes tokens, and tokens become a syntax tree.

    Tokenizers · Recursive descent · Scope resolution

  2. Bytecode & JIT Compilation

    How engines execute code, and when they compile it to machine code.

    Bytecode VMs · Inline caches · Deoptimization

  3. Stack vs. Heap Memory Allocation

    Where values live, and why some outlive the function that created them.

    Stack frames · Escape analysis · Allocators

    Episode · 14:20

    Inside the Execution Engine: Stack Frames, Memory Allocation & Call Stack Tracing

    runtime-internals/01-execution-frames

    Watch
  4. Garbage Collection Algorithms

    How runtimes find and reclaim memory that is no longer reachable.

    Mark and sweep · Generational GC · Write barriers

  5. Concurrency & Event Loops

    How a single thread serves thousands of connections.

    Threads and schedulers · epoll, kqueue, IOCP · Task queues

    Episode · 16:45

    Under the Hood of Async I/O: Non-Blocking Sockets, OS Threads & Event Loops

    runtime-internals/02-async-event-loop

    Watch

Track

Backend & Distributed Systems

The protocols, storage engines, caches, and queues behind every backend request.

Companion code

insideruntimedev/systems-architecture
  1. TCP/IP & HTTP/3 Wire Mechanics

    What travels on the wire between a request and its response.

    Three-way handshake · Congestion control · QUIC streams

  2. Database Storage Engines (B-Trees & LSM)

    How databases lay out, log, and find data on disk.

    B+Tree pages · Write-ahead log · LSM compaction

    Episode · 18:10

    How Databases Store Data on Disk: Pages, WAL Logs & B-Tree Indexing

    systems-architecture/01-storage-engines-btree

    Watch
  3. Caching & Consistency

    What a cache gives you, and which guarantees it costs.

    Write-through and write-back · Invalidation · Consistency models

  4. Message Queues

    How logs and partitions deliver messages, and what delivery guarantees mean.

    Append-only logs · Partitioning · Delivery semantics

  5. 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-architecture
  1. High-Throughput API Design

    How APIs stay fast under sustained load.

    Connection pooling · Idempotency keys · Batching

  2. Fault Tolerance & Backpressure

    How systems shed load instead of failing.

    Circuit breakers · Retries with jitter · Bounded queues

  3. Distributed Tracing & Observability

    How to follow one request across many services.

    Trace context · Spans and sampling · RED and USE metrics

  4. Memory & CPU Profiling

    How to find the code that is actually slow.

    Flame graphs · Heap snapshots · Sampling profilers