What happens when you hit Enter on a URL
Watch closely. We're going to check every word.
It's messages, addresses, and a lot of very fast copying.
| What you type, for humans | tcu.edu |
| What computers route to | 54.162.35.76 |
DNS is the phone book in between. When a big site "goes down" for an afternoon, it is very often DNS.
Hold that thought. That's next week.
Nobody on the way knows the whole route. Every router knows one thing: which of its neighbours is closer to the address.
Like road signs. No sign knows the way from Fort Worth to Canberra. Each one just points "Australia: this way."
Look up the address. Pick a neighbour. Pass it on. Forget it.
| address starts with | send it to |
| 130.56 · ANU, Australia | → Los Angeles |
| 54.162 · Amazon, Virginia | → Chicago |
| 1.1.1 · Cloudflare | → right here in Dallas |
| anything else | → upstream |
A real one has about a million rows, and it picks one for every packet in a few billionths of a second.
Networks announce the addresses they can reach, and every router passes it on. It's called BGP.
Every router believed it. Facebook, Instagram, and WhatsApp vanished for about six hours. One bad announcement, and a company the size of a country fell off the map.
Money can't make light faster.
Hold on to that sentence.
Three free commands, already on your laptop.
nslookup www.tcu.edu
us-east-1.
amazonaws.com
TCU's website doesn't live at TCU. It lives in an Amazon data center in Northern Virginia, about 1,200 miles away.
ping -c 4 www.tcu.edu
On Windows, leave off the -c 4.
No. Amazon just doesn't answer pings.
A failed command tells you something too.
Just not what you'd guess.
ping -c 4 1.1.1.1 ping -c 4 www.anu.edu.au
A server a few miles away, then the Australian National University in Canberra.
Every packet carries a hop limit. Each router takes one off. Whoever hits zero throws it away and says so, and that reply gives away where it is.
traceroute -q 1 -w 1 www.anu.edu.au
Windows: tracert www.anu.edu.au. The hop names say where they are.
| Dallas | ~7 ms |
| Los Angeles | ~37 ms |
| Sydney · the bottom of the Pacific | ~170 ms |
| Canberra | ~188 ms |
LA to Sydney is about 12,000 km. At 200,000 km per second that's 60 ms there and 60 back: 120 ms.
We just measured the speed of light
from a classroom in Fort Worth.
ping -c 4 www.unimelb.edu.au
nslookup www.unimelb.edu.au
Money can't make light faster.
So you spend it moving the data closer.
That's the "very fast copying." It's most of why the internet feels instant.
Count the requests at the bottom. Each one is a little trip like the ones we just traced.
Our trace to the far side of the planet took 190 ms. Howard's satellite alone costs more.
Every router picks the shorter way. To go through Lisbon, he had to force it: send the message to a computer in Lisbon, which sends it on to one in Halifax, and so on.
Possible, and pointless.
"Because we can."
Your agent talks exactly like Howard.
Somebody chose to put TCU's website in Virginia.
That's a job.
| Build Checkpoint 1. Your Karel repo, a world you built, the agent's commit, NOTES.md. Push, and make sure the repo is public. Submit the URL as a text submission in TCU Online by 11:59 PM. | today |
| Cybersecurity. Strangers' machines, and what they can read | Wed, Oct 14 |
| Peer Mentor Meeting. Book it this week | Wed, Oct 21 |
| CS Engagement, 2 of 3 | Wed, Oct 21 |
I grade Checkpoint 1 by cloning your repo and running it. If it doesn't run on my laptop, I can't see it.
And when something sounds sure of itself: check it.