Skip to content
Optimal Lab

Node.js Internals

See what really happens inside the runtime when your code runs.

Sessions

Go in order. Each session is one idea you can drag, step and break.

  1. Interactive

    Live

    The event loop, phase by phase

    Queue timers, promises and I/O, then step through each loop phase.

    Open session →

  2. Interactive

    Live

    Streams and backpressure

    Push data faster than it drains and watch the buffer fill.

    Open session →

  3. Interactive

    Live

    The libuv thread pool

    Fire file and crypto work and see which calls block the pool.

    Open session →

  4. Interactive

    Live

    Don't block the event loop

    One 200 ms calculation stalls every request, until it moves to a worker thread.

    Open session →

In production

Tools you can use

12 technologies across 4 live sessions. Same names in any language — pick a session to see how the idea maps to the real world.

Services, platforms, protocols and standards — not one stack.

Roadmap

Coming soon

A step-by-step path through the track, with sessions and practice at each stage.

  1. Stage 1

    Runtime & V8 basics

  2. Stage 2

    Event loop & async

  3. Stage 3

    Streams & buffers

  4. Stage 4

    Workers & clustering

  5. Stage 5

    Profiling & performance

Projects

Coming soon

Build something real to lock in the skill.

  • Write a tiny HTTP server from sockets
  • Build a rate-limited job queue
  • Stream a large CSV into a database