networks/

The internet underneath: DNS, TCP/IP, TLS, latency and CDNs.

7 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… 6 min read · 9 Nov 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… 6 min read · 1 Nov 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… 4 min read · 29 Oct 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… 5 min read · 26 Oct 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… 5 min read · 20 Oct 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… 5 min read · 17 Oct 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… 5 min read · 14 Oct