Limited Offer

30% OFF Lifetime Access ($139) with code SYSTEM30

Phase 2 Interactive Simulator

Latency Numbers Visualizer ⏱️

Scale nanosecond hardware delays into intuitive human time (1 CPU cycle = 1 second).

1 CPU Clock Cycle (3.3 GHz)
0.3 ns1 Second
L1 CPU Cache Reference
0.9 ns3 Seconds
Branch Misprediction Penalty
3.0 ns10 Seconds
L2 CPU Cache Reference
4.5 ns15 Seconds
Mutex Lock / Unlock
17.0 ns1 Minute
Main Memory Reference (DRAM)
100 ns5.5 Minutes
Read 1 MB Sequentially from RAM
3,000 ns (3 μs)2.8 Hours
NVMe SSD Random Read
16,000 ns (16 μs)15 Hours
Read 1 MB Sequentially from NVMe SSD
200,000 ns (200 μs)8 Days
Intra-Datacenter Network RTT
500,000 ns (0.5 ms)19 Days
Mechanical HDD Disk Seek
8,000,000 ns (8 ms)10 Months
Cross-Atlantic Network RTT (US to Europe)
150,000,000 ns (150 ms)16 YEARS
cpu Tier0.3 ns

1 CPU Clock Cycle (3.3 GHz)

The fundamental heartbeat of modern silicon processors executing a single instruction.

Human Time Analogy (1 CPU Cycle = 1 Sec)

1 Second

If fetching from CPU register takes 1 second, this operation feels like waiting 1 Second to the processor!

💡 Architectural Insight:

Reading from RAM is like a 5-minute coffee break; reading from spinning disk is waiting 10 months; cross-ocean network calls are a 16-year career!

PHASE 2 CURRICULUM

Computing Fundamentals

Progress0 of 12 (0%)

High-scale distributed systems are built on top of single-node computing primitives.

Key Architectural Domains & Syllabus
To optimize systems processing tens of millions of events
you must understand CPU cache lines (L1/L2/L3)
memory hierarchies
the famous latency numbers
thread safety
deadlocks
async event loops
non-blocking I/O multiplexing
file systems
virtualization vs cgroups/containers
12 In-Depth Topics ~96 Minutes Reading Time Interactive Quizzes & Assessments

All Topics in Phase 2

0 of 12 completed

Explore the trade-offs between speed, cost, and capacity across CPU registers, L1/L2/L3 caches, Main Memory (DRAM), NVMe SSDs, and Magnetic Hard Drives.

9 min read•2 Quiz Questions

Master the iconic back-of-the-envelope latency benchmarks compiled by Jeff Dean: Scale hardware nanoseconds into human intuitive time scales.

9 min read•2 Quiz Questions
#16Processes vs ThreadsBeginnerFREE

Differentiate isolated memory address spaces from shared-memory lightweight execution units: Virtual memory, IPC, stack vs heap, and crash isolation.

9 min read•2 Quiz Questions

Disentangle structure from execution: Rob Pike's composition model, time slicing on single cores vs simultaneous execution across multi-core CPUs.

8 min read•2 Quiz Questions
#18Context Switching OverheadIntermediateFREE

Understand the hidden CPU tax of multitasking: Register saving, kernel transitions, TLB (Translation Lookaside Buffer) flushes, and cache line invalidation.

9 min read•2 Quiz Questions

Write correct concurrent programs: Shared mutable state, memory models, volatile variables, atomic operations, and lock-free programming.

9 min read•2 Quiz Questions

Master synchronization primitives: Mutex (Mutual Exclusion), Counting Semaphores (Rate limiting), Read-Write Locks (RWLock), and Spinlocks (Busy-waiting).

9 min read•2 Quiz Questions

Analyze concurrency bugs: Coffman's 4 deadlock conditions, lock hierarchy ordering, bank transfer deadlocks, and distributed deadlocks across microservices.

9 min read•2 Quiz Questions

Explore the 5 I/O models: Synchronous Blocking, Synchronous Non-Blocking, I/O Multiplexing (select/poll/epoll), Signal-Driven I/O, and Asynchronous I/O (io_uring).

10 min read•2 Quiz Questions

Deconstruct event loop mechanics: Call stack, Microtask queue, Macrotask queue, libuv, backpressure, and why CPU-bound tasks block the event loop.

9 min read•2 Quiz Questions

Understand how operating systems store and cache data: Inodes, OS Page Cache, write-back flushing (fsync), direct I/O, and Write-Ahead Logging (WAL).

9 min read•2 Quiz Questions

Demystify cloud infrastructure: Type 1/2 Hypervisors vs Linux Namespaces, cgroups (Control Groups), chroot, Union File Systems (OverlayFS), and startup latencies.

9 min read•2 Quiz Questions