networks/
The internet underneath: DNS, TCP/IP, TLS, latency and CDNs.
13 results
networks/dhcp-how-a-device-gets-an-address-the-moment-it-joins-the-wi-fi.md
DHCP: how a device gets an address the moment it joins the Wi-Fi
Every device on a network needs its own address, but nobody types one in when you join café Wi-Fi. A helper called DHCP hands them out with…
networks/cdns-why-a-far-away-server-feels-slow-and-how-copies-near-you-fix-it.md
CDNs: why a far-away server feels slow, and how copies near you fix it
Why does a website load instantly for you and slowly for someone on the other side of the world? The server is the same; the distance is…
networks/udp-why-a-video-call-skips-a-lost-piece-instead-of-waiting.md
UDP: why a video call skips a lost piece instead of waiting
Why does a video call skip a moment instead of freezing until the missing piece turns up? Because it uses UDP, a protocol that sends…
networks/nat-how-a-dozen-devices-share-one-internet-address.md
NAT: how a dozen devices share one internet address
Your home has one public internet address but a dozen devices. NAT is how your router lets them all share it and still get each reply to…
networks/traceroute-how-a-countdown-number-reveals-every-stop-between-you-and-a.md
Traceroute: how a countdown number reveals every stop between you and a server
Your data crosses a dozen machines on its way to a server, and you never see one of them. Yet a tool called traceroute lists every stop in…
networks/diffie-hellman-how-two-strangers-agree-on-a-secret-while-everyone-list.md
Diffie-Hellman: how two strangers agree on a secret while everyone listens
How can a browser and a website that have never met agree on a secret key while everyone on the Wi-Fi is listening? The trick is…
networks/tcp-how-a-network-that-drops-data-still-delivers-every-byte-in-order.md
TCP: how a network that drops data still delivers every byte in order
The internet underneath your apps drops data and makes no promise to deliver it. TCP adds the promise anyway: it numbers every piece, the…
networks/cidr-and-subnets-what-the-24-in-192-168-1-0-24-means.md
CIDR and subnets: what the /24 in 192.168.1.0/24 means
What does the `/24` in `192.168.1.0/24` mean? It counts how many of an IPv4 address's 32 bits name the network, and how many are left to…
networks/dns-lookups-why-a-website-is-slower-the-first-time-you-visit.md
DNS lookups: why a website is slower the first time you visit
Typing a name like www.example.com sets off a short chain of questions: a resolver asks a root server, then a .com server, then the…
networks/latency-vs-bandwidth-why-a-faster-plan-can-t-speed-up-a-small-page.md
Latency vs bandwidth: why a faster plan can't speed up a small page
You upgraded to a much faster internet plan, yet a small web page loads just as slowly. Why? Network speed is two different numbers…
networks/packets-why-the-internet-cuts-your-message-into-numbered-pieces.md
Packets: why the internet cuts your message into numbered pieces
When you send a message online, it never travels as one block. The internet cuts it into small packets, each with a label saying where it…
networks/ip-addresses-and-ports-the-street-address-and-the-apartment-number.md
IP addresses and ports: the street address and the apartment number
Every message on a network needs two things to arrive: an IP address to find the right computer, and a port to find the right program on…