How the Network Actually Works

How the Network Actually Works

From a URL to a packet and back
Free
5h · 6 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.1 of the 5 in Foundations. It runs about 5 hours across 6 lessons, and closes with Packet Path — Route a request through DNS, TLS and three hops, paying the real latency cost of every choice you make.

Lessons
1. DNS, and why the first request is slow

Concept · 30 minutes

2. TCP, handshakes and the cost of a connection

Concept · 40 minutes

3. TLS: what the extra round trips buy you

Concept · 30 minutes

4. HTTP/1.1, HTTP/2 and HTTP/3 in practice

Concept · 40 minutes

5. WebSockets, SSE and long polling

Concept · 35 minutes

6. Trace one request end to end

Lab · 60 minutes

Module information
Duration
5 hours
Lessons
6
Level
Beginner
Track
Foundations
Drill
Packet Path
Price
Free

Related modules

Latency Numbers & Estimation
4 hours
5 lessons
Beginner
Latency Numbers & Estimation
Free
01.2
The Machine Underneath
5 hours
5 lessons
Beginner
The Machine Underneath
Free
01.3
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