The reference textbook, now open source, that explains why the Internet is shaped the way it is and why it holds up.
Why this book
The twin note to High Performance Browser Networking (HPBN). HPBN tells you what the network costs your pages; this textbook tells you why the network is built the way it is. It is the textbook generations of network engineers learned from, written by Larry Peterson and Bruce Davie, two heavyweights of the field. They did something rare for an academic textbook: they released the sixth edition (2020) under an open license, source text on GitHub, free to read online, updated continuously.
A web developer does not need the whole book. But it holds a handful of mental models that nothing else delivers as well, and that explain at once why HTTP, TCP and CDNs behave the way they do.
The ideas that stick
1The systems approach: judge the whole, not the boxes
The thesis gives the book its name: "the key to the systems approach is a big picture view: you need to look at how the components of a system interact with each other to achieve an overall result", rather than optimizing each component in its corner. A network is described in layers: hardware at the bottom, applications on top, protocols (the rules machines follow to talk to each other) in between. The systems approach judges all the layers together, not each one separately.
A concrete example: every machine that sends its data as fast as the rules allow follows those rules when judged alone. It is the sum of thousands of machines on the same routers (the machines that switch the data) that made the Internet collapse in the late 1980s (idea 6). This outlook applies beyond networks: it is the one software architecture demands, judging boundaries and interactions rather than modules one by one. A parallel in your own work, not from the book: after an outage, all your services retry at the same moment. Each does what it is asked to do, and together they make the outage worse.
Takeaway: a network is judged by its interactions, not by its boxes. The best example of this outlook is the hourglass of the next idea.
2The hourglass: everything over IP, IP over everything
A network is described as layers of protocols. Picture them as floors. At the top, dozens of applications: web, mail, video calls, games. At the bottom, dozens of physical media: fiber, copper, radio, satellite. In the middle, a single protocol: IP (Internet Protocol). It gives every machine an address and moves packets (small blocks of data) from one machine to the next.
Applications hand their data to IP: they are said to "speak IP". The media carry its packets. The drawing forms an hourglass, wide at the top, narrow in the middle, wide at the bottom, and IP is its waist. The book pushes the idea very far: "in principle, IP can run over a network that transports messages using carrier pigeons".
This single waist is the Internet's architectural choice: a minimal rule in the middle, freedom at both ends. It is the opposite of a proprietary platform, where a single company decides what is allowed to plug in.
Takeaway: everything goes through a single protocol, deliberately minimal. The next idea says what it promises: very little, on purpose.
3Best effort: the network promises little, on purpose
IP promises almost nothing. A datagram (a small packet of data) leaves, it may arrive, maybe out of order, maybe twice, maybe never. This bareness is not laziness, it is what the book calls the end-to-end argument. For it, a function like reliable, ordered delivery "should not be provided in the lower levels of the system unless it can be completely and correctly implemented at that level".
In the middle of the network, that reliability cannot be complete: a router (the machine that switches packets) sees packets go by, not the application, so it does not know whether the application received the data. Only the two ends, the sender and the receiver, know. So it is not promised in the middle, it is built at the edges, in TCP (the protocol that delivers all the data to the application, with no gaps and in order), on the machines at both ends. The rule is not absolute, the book adds: a link (the connection between two neighbouring machines: cable, fiber, Wi-Fi) may repair some of the errors to go faster, as long as the ends check anyway.
Simple network, smart endpoints. A network that imposes nothing leaves applications and media free to evolve, which made it extensible (idea 2). It is the same argument that comes back in every architecture debate: where do you put the intelligence?
Takeaway: the middle is simple, the ends do the work. What remains is how much a link can carry, and how to measure it: that is the next idea.
4The pipe has a volume: bandwidth × delay
The textbook's most counterintuitive number is a product: bandwidth × delay. Picture a link as a pipe. It is described by two numbers. The first is its bandwidth, or throughput: how many bits it carries per second. The second is its round-trip delay, the RTT: the time a message takes to go and come back.
Why the round trip? Because you only know data has arrived when the acknowledgement (the receiver's "got it" message) comes back. Until it does, what you sent is "in flight" in the pipe.
The volume of the pipe is therefore throughput × RTT. Take a transcontinental 1 Gbps link (a billion bits per second) with a 100 ms RTT. In 0.1 s, it passes 100 million bits, or 100 megabits in flight. Since a byte is 8 bits, that makes 12.5 MB (1 MB here is a million bytes). Note that 1 Gbps is 125 MB per second, not 1,000, because we divide by 8.
The book's table gives this volume for a 100 ms round trip: the higher the throughput, the bigger the pipe. It counts in KB of 1,024 bytes and rounds (45 Mbps × 100 ms is 562,500 bytes, or 549 KB). Only the order of magnitude matters.
| Link | Throughput | Volume in flight |
|---|---|---|
| T1 | 1.5 Mbps | 18 KB |
| T3 | 45 Mbps | 549 KB |
| Fast Ethernet | 100 Mbps | 1.2 MB |
| OC-3 | 155 Mbps | 1.8 MB |
| OC-48 | 2.5 Gbps | 29.6 MB |
| 10 GigE | 10 Gbps | 118.4 MB |
Consequence: to fill that pipe, the sender must send a lot of data before waiting for an acknowledgement. That amount is called TCP's window. The 16-bit field that announces it tops out at 64 KB, far less than the 12.5 MB of the pipe.
My calculation: the sender sends 64 KB, then waits 100 ms for the acknowledgement. That is 64 KB × 8 ÷ 0.1 s, about 5 Mbps. It is 0.5% of the gigabit you pay for.
Another case from the book, on the same link: a client asks for a 1 MB file, with a window assumed large enough to send everything at once. The file is sent in 8 ms (8 megabits ÷ 1 Gbps). Then comes a 100 ms round trip: the request goes, the file comes back. Total: 108 ms. The throughput obtained is 8 Mb ÷ 0.108 s, or 74.1 Mbps, about 13 times less than the gigabit. Delay crushes throughput.
All the engineering of "long fat networks", links with high throughput and high delay, follows from this product. TCP's window scaling extension is part of it: it multiplies the advertised window to go beyond 64 KB.
Takeaway: a link is judged by throughput × RTT, not by throughput alone. The next idea shows how TCP builds reliability on a network that promises nothing.
5TCP builds reliability out of chaos
Under TCP, the network may lose, duplicate, reorder or delay packets (idea 3). Above it, your code reads a perfect stream of bytes (all there, in order). In between, TCP relies on four mechanisms. It numbers every byte: these are the sequence numbers. The receiver confirms what it gets: these are the acknowledgements. The sender resends what is not confirmed: these are the retransmissions. Finally, it sends the next data without waiting for each acknowledgement, within the limit of the window of idea 4. This window moves forward as acknowledgements arrive, which is why it is called sliding.
Each piece of data travels in a segment: a label, the header, stuck on the data. The header carries the numbers the mechanisms need.
Before the data, TCP opens the connection (the conversation between two machines) with three messages: the three-way handshake. The two machines agree there on their starting numbers. The first message, SYN, announces the client's. The second, SYN + ACK, acknowledges it and announces the server's. The third, ACK, acknowledges in turn. Then an acknowledgement does not repeat the number received: it announces the next byte expected. Bytes 101 to 200 arrived, so the acknowledgement says 201. At the handshake, the SYN counts for one number: SYN 100, acknowledgement 101. If an acknowledgement is late, the sender resends the segment.
This magic trick has a price, and the textbook shows two. First price, the quarantine. A delayed packet can arrive long after its connection has ended. As a precaution, TCP assumes a packet does not survive more than 120 seconds on the Internet. A closed connection therefore stays in quarantine for 120 seconds: this is the TIME_WAIT state. Without it, a "ghost" packet of the old connection could be mistaken for a packet of a new connection between the same machines.
Second price, the wraparound. Every byte gets a number, and that number fits in 32 bits: there are only 4.3 billion possible numbers. After 4.3 billion bytes sent, the numbering starts again from zero. If this lap takes less than 120 seconds, an old packet still on its way may carry the same number as a new one, and TCP confuses them. How long does a lap take? It depends on the throughput:
| Link | Time until wraparound |
|---|---|
| T1 (1.5 Mbps) | 6.4 hours |
| T3 (45 Mbps) | 13 minutes |
| OC-3 (155 Mbps) | 4 minutes |
| OC-48 (2.5 Gbps) | 14 seconds |
| 10 Gbps | 3 seconds |
On a 2.5 Gbps link (OC-48), a lap takes 14 seconds, and 3 seconds at 10 Gbps. That is less than the 120 seconds required: the risk is real. The textbook describes a TCP extension that lengthens these numbers.
The lesson: reliability does not come for free, it is manufactured. It is paid for in information to keep at both ends: the numbers, the quarantine, the window.
Takeaway: TCP makes an unreliable network reliable with numbers, acknowledgements and resends, and pays for it in information to keep. What remains is what it does when the network is overloaded: that is the next idea.
6Congestion: TCP must create losses to find the room
In the late 1980s the Internet collapsed under its own load. Every machine sent its packets as fast as the window allowed. Routers received too many: saturated, they dropped some. The machines saw no acknowledgement, so they resent, and the network saturated even more. This is congestion collapse. Van Jacobson diagnosed and fixed it.
His solution still runs in your machine. It comes down to two rules. A reminder from idea 4: the window is the amount of data you may send before waiting for an acknowledgement. TCP makes it vary with the network. Rule 1: as long as acknowledgements come back, it grows the window by one segment (a TCP data packet) per round trip. Rule 2: at every loss, it halves the window. A loss is an acknowledgement that does not arrive in time. The method's name, AIMD, sums up both rules: Additive Increase (grow by adding), Multiplicative Decrease (shrink by halving).
The rate draws a sawtooth, and that is deliberate: "TCP needs to create losses to find the available bandwidth of the connection". Your code does not see these losses (idea 5). TCP uses them as a signal: loss is not an accident, it is the probe.
AIMD dates from the late 1980s. Since then, two heirs have taken over. CUBIC is Linux's default. On a big-pipe link (idea 4), growing by one segment per round trip takes far too many round trips to recover the capacity. CUBIC climbs fast back toward the level from before the loss, then carefully, so as not to disturb the other connections. BBR, created at Google, follows the delay: when the routers' queues (where packets wait) fill up, the delay rises, and BBR slows down before any packets are lost.
These two methods sometimes share the same link (the same cable or fiber), and the result is unequal. In some experiments cited by the book, BBR takes the biggest share: CUBIC connections get 100 times less bandwidth. The book does not say why. The usual explanation, which is not in the book: CUBIC backs off at every loss, whereas BBR does not tune itself to losses, so it keeps its place. Every connection should get its share: this is fairness. Between different methods, it is not guaranteed, and the authors say the subject is still moving.
Takeaway: TCP finds room by overshooting a little, then backing off. What remains is how the network holds together at planetary scale: that is the next idea.
7The Internet holds together by grouping, and its routes follow the money
A packet going from one end of the world to the other crosses several networks. At each step, a router reads the destination address and consults its table: "for these addresses, go through that link". There are billions of machines, and one line per machine is impossible.
So addresses are grouped, the way a sorting center groups mail: "everything starting with 75 goes to Paris". Such a group is called a prefix. The one written 192.168.0.0/16 covers all the addresses that start with 192.168, over 65,000 in a single table line.
Between networks, the protocol is called BGP. Each network announces to those it is connected to: "I can reach these addresses, send me the packets for them". Announcing a route means offering to carry. Each router builds its table from these announcements, and no machine picks a path at every request.
But carrying costs: cables, routers, electricity. A network therefore does not offer to carry for just anyone. It is like your subscription: you pay your provider to carry your packets to the rest of the world. Two providers of comparable size, peers, exchange their packets with no bill.
Take two peer providers, A and B, and a customer, C, connected to both and paying them.
If C announced to B "go through me to reach A", C would carry for B with nobody paying it. So C does not say it: a customer does not announce to one provider the routes learned from another provider.
A packet's path is therefore not necessarily the shortest. The book writes that BGP never promised the shortest route, only some route, heavily influenced by who pays whom. When "the Internet is slow" between two continents, the cause is sometimes a contract, not a cable.
Takeaway: addresses are grouped to keep the tables short, and between networks routes follow contracts. What remains is what applications do with all that: that is the next idea.
8A web page in three steps: a name, a question, a nearby copy
When you open a web page, three things happen in order. A name becomes an address. Your browser asks a question at that address. And the answer comes, if possible, from a nearby copy. The textbook's last chapter describes these three steps.
First step, the name. You type www.exemple.com, but machines talk to each other with IP addresses. The DNS is the directory that translates one into the other. It is organized as a hierarchy: one service handles ".com", another handles "exemple.com".
Second step, the question. Your browser opens a TCP connection (idea 5), then sends a request: "give me this page". The server answers with the page. This is the request-response dialogue HTTP rests on.
Third step, the nearby copy. A heavily visited site does not fit on a single server. A CDN places servers all around the world, each with a copy of the pages, and the DNS answers with the address of the one best placed for you. A nearby server means a shorter round trip (idea 4).
This dialogue has changed over time. In HTTP/1.0, every object on the page opened its own connection: 13 connections for a page and its 12 icons. HTTP/1.1 reuses the connection, HTTP/2 interleaves several exchanges on it, HTTP/3 replaces TCP with another transport, QUIC.
The High Performance Browser Networking note tells this story in detail. The two books answer each other here.
Takeaway: opening a page means translating a name into an address, asking a question, and receiving the answer from a nearby copy. The textbook gives the principles, the rest of the world applies them.
"We reject kings, presidents, and voting. We believe in rough consensus and running code." (David Clark). It is a line printed on T-shirts at IETF meetings (the Internet Engineering Task Force, the body that standardizes Internet protocols). The textbook quotes it to say what counts in Internet culture: working software, more than a voted document.
My take, honestly
Let me say it up front: I'm a web developer, not a network engineer, and I don't have the level to judge this textbook as an expert. Here is what the book did to me: things I had put up with for years (TIME_WAIT hanging around, throughput capped below the plan, the "magic" CDN) stopped being superstitions. The hourglass, the end-to-end argument and the bandwidth × delay product are three images I won't unlearn.
The honest complaint: it is a university textbook, with the density and dryness of the genre. You run into CRC calculations (a code that detects transmission errors) and automata (state machines) that nobody will ever ask me about. Reading it cover to cover is a mistake for a web developer. I would read chapter 1 (ideas 1, 2 and 4), chapter 5 (ideas 4 and 5), chapter 6 (idea 6), the beginning of chapters 3 and 4 (ideas 3 and 7) and chapter 9 (idea 8), and keep the rest as reference. And the authors' own irony deserves a quote: the designers of IPv6 (the new version of IP, made to replace IPv4) planned a temporary transition, but "it is doubtful they anticipated that transition period would be approaching its 30th anniversary".
In the duo with HPBN, read HPBN first: it starts from your pages and goes down. This textbook climbs up from the cables and answers the "whys" that HPBN leaves open. The reference textbook has become a common good, a gift to the trade.
Odilon
Still relevant in 2026?
Yes, and it is its strong point. The textbook is maintained (the online version is a 6.2 in progress), and the sixth edition adds QUIC, CUBIC and BBR (ideas 6 and 8). The principles of ideas 1 to 5, the hourglass, the end-to-end argument, the throughput × delay product, depend on no generation of hardware. Ideas 6 to 8 describe algorithms and protocols that move (CUBIC, BBR, HTTP/3): that is where the textbook's updates land. What ages: the table rows (T1 and OC-3 are older-generation links) and IPv6, whose transition is still under way.
Who is it for?
Read it if
- You enjoyed HPBN and want the "why" beneath the "how much"
- You touch infrastructure (cloud, CDN) and networking vocabulary is still folklore to you
- You like understanding systems through their design choices, not their commands
- You want ONE reference networking textbook, free and up to date
Skip it if
- You have never opened a networking book: start with HPBN, it starts from your web pages
- You want something directly applicable tomorrow morning: this book explains, it doesn't equip
- Academic textbooks slip from your hands: the density is real
Going further
To go beyond this book:
- The twin note, on the web-pages side: High Performance Browser Networking, which starts from your pages and measures what the network costs them, where this book explains why the network is built that way.
- To see these layers at work in your own requests: the free HTTP course.
- For the TLS side (the encryption behind HTTPS): the web security course.
Comments (0)