The Machine Underneath

The Machine Underneath

Threads, memory and disks, as they bear on a diagram
Free
5h · 5 lessons
Overview

What actually happens between a client and a server, what a millisecond costs, and why you cannot have consistency, availability and partition tolerance at once. Start here if you can draw the boxes but not defend them.

This module is 01.3 of the 5 in Foundations. It runs about 5 hours across 5 lessons, and closes with Saturation — A service is at 100% of something. Find which resource, before the queue depth passes the point of no return.

Lessons
1. Processes, threads and the event loop

Concept · 40 minutes

2. Memory hierarchy and why locality wins

Concept · 35 minutes

3. Disks: sequential, random, SSD and page cache

Concept · 35 minutes

4. Blocking, backpressure and queueing theory

Concept · 40 minutes

5. Find the bottleneck in a running service

Lab · 60 minutes

Module information
Duration
5 hours
Lessons
5
Level
Beginner
Track
Foundations
Drill
Saturation
Price
Free

Related modules

Consistency, Availability & Partitions
5 hours
5 lessons
Beginner
Consistency, Availability & Partitions
Free
01.4
API Design & Contracts
4 hours
5 lessons
Beginner
API Design & Contracts
Free
01.5
How the Network Actually Works
5 hours
6 lessons
Beginner
How the Network Actually Works
Free
01.1
Latency Numbers & Estimation
4 hours
5 lessons
Beginner
Latency Numbers & Estimation
Free
01.2