LOAD-BEARINGfree
Tier 16 lessons, about 71 minutes of reading · checkpoint at the top

The Wire

How bytes actually get from a phone in Jaipur to a server in Mumbai, and which protocol to pick when.

Units on this floor

  1. DNS, TCP, TLS: three trips before hello1.01 · 12 min

    In Tier 0 we said "the connection opens" and moved on. Now let's open the hood, because before your application code runs even once, the network has already spent a shocking amount of time…

  2. HTTP/1.1 → 2 → 31.02 · 10 min

    HTTP is the language of the web — the format of "give me this page" and "here it is." It has gone through three major generations, and each one exists to fix the previous one's specific…

  3. REST, gRPC, GraphQL: pick by shape1.03 · 12 min

    These three constantly get framed as a ranking — which is "best"? Wrong question. They're three different tools for three different shapes of problem, like asking whether a hammer beats a…

  4. Getting data pushed to clients1.04 · 11 min

    HTTP has a built-in asymmetry: clients ask, servers answer. Servers can't just call you up. So what happens when the server has news — a new chat message, a live score update — and needs…

  5. APIs that survive contact1.05 · 13 min

    Designing an API that works in a demo is easy. Designing one that survives flaky networks, impatient clients, growing lists, and two years of change requests — that's the real craft. Four…

  6. Schema evolution: changing data safely1.06 · 13 min

    The previous lesson kept your API compatible. This one keeps your data compatible, and it is the harder problem — because an API call lives for a second, while a row you write today may be…