RC RANDOM CHAOS

How the Internet Actually Works, Traced From the Telegraph Up

· via Hacker News

Original source

Networking and the Internet, from First Principles

Hacker News →

A first-principles explainer argues that the internet makes intuitive sense only once you stop treating it as a finished blueprint and start seeing it as decades of accumulated patches. Every core mechanism—packet switching, TCP, DNS, TLS—was invented to fix a specific, concrete problem long after the network already ‘worked,’ and the same pressure continues today from new physical links, new failure modes, and software demands that didn’t exist when the underlying layers were designed. No central computer directs traffic and no single company owns the infrastructure; independent operators simply hand each message off toward the next closest route, yet the system stays reliable enough that we notice it only when a call stutters.

The piece grounds this in the physics of a network link, which hasn’t changed since two tin cans on a taut string: vary a physical quantity at one end, measure it at the other, on a schedule both sides agree on in advance. That shared rulebook is what a protocol is, and the telegraph already embodied the key ideas—Morse code was a digital system transmitting discrete symbols, which let electromechanical relays regenerate clean copies of each pulse so a message could cross a continent without degrading, something no analog signal can do. Human operators at relay offices even performed routing, queuing and forwarding messages toward their destination, a role electronics would later automate as the router.

From there the model builds up to bits and bytes and the modern physical layer—voltage on copper, a laser switching inside glass fiber, modulated radio for Wi-Fi—while tying the history to today’s undersea cables, which trace back to the costly transatlantic telegraph runs of the 1850s and 60s. The stated payoff is a single coherent mental model that demystifies everyday questions: what the address-bar padlock actually protects, whether a dead page is the site’s fault or your own, why a ‘gigabit’ connection can still feel sluggish, and how traffic reroutes around a failing cable half a world away.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.