Appearance
Networking: The Big Picture (One Packet's Trip)
Season 2 · Note 1
In Plain English (30-Second Refresher)
TL;DR
Everything you send online is chopped into small packets: little envelopes of data, each with a "to" and "from" address.
- DNS (Domain Name System) turns a name like
coindash.exampleinto a number: the server's IP (Internet Protocol) address. - Your Wi-Fi router and your ISP (Internet Service Provider) pass each packet to the internet.
- Routers forward it hop by hop. Each one only reads the address and sends it one step closer.
- TCP (Transmission Control Protocol) numbers the pieces and resends any that get lost. TLS (Transport Layer Security) locks them so only the two ends can read them. Web traffic locked this way is HTTPS (HyperText Transfer Protocol Secure).
The Mission We Follow
You just beat your Coin Dash high score: 52. A tenth of a second later, a friend on another continent sees it on the online leaderboard.
This note follows one packet carrying that score, from your laptop to the Coin Dash server and back. Every networking idea in this season is just one stop on that trip.
Real-World Analogy: Mailing a Letter Abroad 📮
Imagine posting a letter to an office overseas. You look up their address, pack the letter, and the postal system passes it from building to building until it arrives. Networking works the same way, just in milliseconds.
| In the post | In the network | What it does |
|---|---|---|
| ✉️ One envelope of a long letter | Packet | A small piece of your data, about 1,500 bytes |
| 📖 Looking up the address in a phone book | DNS | Turns a name into a number |
| 🏠 Street address | IP address | Says where a device is on the internet |
| 🚪 Room number in the building | Port | Says which app on that device gets it (443 = secure web) |
| 📬 Your building's mailroom | Wi-Fi router + NAT (Network Address Translation) | Sends mail out and swaps in the building's address |
| 🏤 Local post office | ISP | Your home's way out to the world |
| 🏭 Sorting centres | Routers | Each one sends the envelope one step closer |
| 🧾 Numbered pages + delivery receipts | TCP | Spots missing pieces and resends them |
| 🔒 A locked box only the recipient can open | TLS | Nobody on the way can read the letter |
Visual Mental Model
How It Works (Interactive Animated Flow)
Switch between everything goes well and a piece gets lost:
One Packet's Trip Across the Internet
Follow your score from your laptop to the Coin Dash server and back
🎯 Mission Get your new high score (52) onto the online leaderboard.
- Find the address: DNS turns the name into an IP address (and remembers it for next time).
- Pack it: the message is cut into packets, and each packet is wrapped in envelopes inside envelopes (layers).
- Leave home: Wi-Fi carries it to your router, which swaps in your home's public address.
- Cross the internet: your ISP hands it to routers, hop by hop, sometimes under an ocean.
- Arrive: a load balancer picks a free server, which opens the envelopes and does the work.
- Reply: an answer comes back the same way. Lost pieces are resent along the way.
The 4 Core Principles (Remember Just These)
- Packets, not one long stream. Big messages are cut into small pieces that travel separately and are rebuilt at the end.
- Names are for people, numbers are for machines. DNS translates one into the other.
- Nobody knows the whole route. Every router makes one small decision: "which neighbour is closer?" That's why the internet survives broken links.
- Layers, each with one job. Wi-Fi gets it to the next hop, IP to the right computer, TCP to the right app in one piece, TLS keeps it private.
Where the Time Goes
| Step | Typical time |
|---|---|
| DNS lookup | ~0 ms if remembered, up to ~50 ms if not |
| Home Wi-Fi to router | 1–5 ms |
| Handshakes before sending (TCP + TLS) | 1–2 round trips |
| Across an ocean | ≈ 30–40 ms each way (light in glass covers ~200 km per millisecond) |
| Server work | a few ms |
Rule of thumb: a server in your city answers in 10–30 ms; one on another continent in 100–200 ms. Distance, not your internet plan, sets that floor.
Trade-offs (Why It's Built This Way)
| Choice | Upside | Downside |
|---|---|---|
| Packets instead of a reserved line (like old phone calls) | Millions of people share the same cables | Pieces can arrive late, out of order, or not at all |
| TCP (resend everything that's lost) | Complete, in-order data: web pages, scores, files | A lost piece holds up the ones behind it |
| UDP (User Datagram Protocol) (no resending) | Lowest delay: live games, video calls | Lost pieces stay lost; the app must cope |
| Hop-by-hop routing | No single point of failure | Nobody can promise a fixed path or travel time |
Season 2 Roadmap
Three names you’ll meet along the way:
- OSI (Open Systems Interconnection) model: the textbook list of 7 network layers. Engineers say “Layer 3” or “an L7 (layer 7) load balancer”, so note 2 maps each of my envelopes to its layer number.
- SSL (Secure Sockets Layer): the old, retired name for TLS. People still say “SSL certificate”; note 7 explains why.
- CDNs (content delivery networks): keep copies of websites in cities near you, so your packets travel less.
| # | Note | The packet learns… | Ready |
|---|---|---|---|
| 1 | The Big Picture (this note) | the whole trip, start to finish | ✅ |
| 2 | Packets & Layers (the OSI model) | why I wear envelopes inside envelopes, and the 7 numbered layers engineers talk about | ✅ |
| 3 | Your Home Network | Wi-Fi, device addresses, and sharing one public address | ✅ |
| 4 | DNS: Names to Numbers | how the address book really works | ✅ |
| 5 | Routing Across the Internet | how routers and providers pass me around the planet | ✅ |
| 6 | TCP & UDP | reliable vs fast delivery, and what happens when I'm lost | ✅ |
| 7 | HTTPS, TLS & SSL | the locked box, how strangers agree on a secret, and why people still say “SSL” | ✅ |
| 8 | Servers, Load Balancers & CDNs | what happens at the other end, and why copies sit near you | ✅ |
Common Gotchas
Watch Out For
- The internet isn't the web. The internet moves packets; the web (HTTP pages) is just one app that uses it. Games, email and video calls are others.
- Full Wi-Fi bars ≠ fast internet. Bars only describe the first hop, laptop to router. The slow part can be anywhere after that.
- A faster plan doesn't fix lag. Your plan raises how much data flows per second, not how long each trip takes. Distance sets the delay.
- 192.168.x.x addresses are private. They only work inside a home; the outside world sees your home's single public address.
- HTTPS hides the letter, not the envelope. Routers can't read your score, but they can see which server you're talking to.
Quick Self-Check (Restore Your Memory)
1. What's the difference between coindash.example and 198.51.100.20?
The first is a name for people. The second is the IP address machines use to route packets. DNS turns the name into the number.
2. Does any router know the whole route from your laptop to the server?
No. Each router only reads the destination address and forwards the packet to the neighbour that's one step closer. That's why the internet keeps working when a link breaks.
3. A packet carrying part of your score is dropped by a busy router. What happens?
TCP notices: the server's receipts show the piece is missing, so your laptop sends just that piece again. The server rebuilds the message in order, and you never notice.
🎬 Now Watch It Happen
2-minute episode
Ride along as the packet: from Coin Dash on your laptop, through your router, under the ocean, to the server and back. S2 · E1 — The Journey →