Systems & Low-Level

Hardware doesn't lie, but it does reorder. These lessons explore cache coherence, memory models, and the foundations that higher-level abstractions are built upon.

01
MESI
Every core sees every write, and the bus bills you for it
L215 MIN
02
VIRTUAL MEMORY
When pages compete, the disk always wins
L216 MIN
03
TCP HANDSHAKE
Three-way setup, one-way flood
L215 MIN
04
GARBAGE COLLECTION
Mark the living, sweep the dead
L216 MIN
05
CPU PIPELINE
Five stages, one clock each, and the cycles hazards steal
L216 MIN
06
MEMORY ORDERING
Your stores can arrive in a different order than you wrote them
L218 MIN
07
BRANCH PREDICTION
Sorted data runs faster through the same loop
L215 MIN
08
FALSE SHARING
Two threads, two variables, one cache line
L214 MIN
09
TAIL LATENCY
Your p99 is someone's every request
L214 MIN
10
CAPSTONE: THE LATENCY CLIFF
Everything in this path, in one request that got 10x slower overnight
L320 MIN