There's an old net story from the 80's, which I can't find right now, but is about two computers, 10 feet apart, having a ridiculously long network route between them, packets traveling into other states or countries and back, when they could have flowed over a short cable.
Ever since I read that, I've been collecting my own ridiculously long routes. ssh bouncing from country to country, making letters I type travel all the way around the world until they echo back on my screen. Tasting the latency that's one of the only ways we can viscerally understand just how big a tangle of wires humanity has built.
Yesterday, I surpassed all that, and I did it in a way that hearkens right back to the original story. I had two computers, 20 feet apart, I wanted one to talk to the other, and the route between the two ended up traveling not around the Earth, but almost the distance to the Moon.
I was rebuilding my home's access point, and ran into a annoying bug that prevented it from listening to wifi. I knew it was still connected over ethernet to the satellite receiver.
I connected my laptop to the satellite receiver over wifi. But, I didn't know the IP address to reach the access point. Then I remembered I had set it up so incoming ssh to the satellite receiver was directed to the access point.
So, I sshed to a computer in New Jersey. And from there I sshed to my access point. And the latency was amazing. Because, every time I pressed a key:
- It was sent to a satellite in geosynchrous orbit, 22250 miles high.
- Which beamed it back to a ground station in Texas, another 22250 miles.
- Which routed it over cable to New Jersey to my server there.
- Which bounced it back to a Texas-size dish, which zapped it back to orbit,
another 22250 miles.
- And the satellite transmitted it back in the general direction of my house,
another 22250 miles.
- So my keystroke finally reached the access point. But then it had to show me it had received it. So that whole process happened again in reverse, adding another 89000 miles travel total.
- And finally, after 178000 and change miles of data transfer, the letter I'd typed a full second ago appeared on my screen.
Not bad for a lazy solution to a problem that could have been solved by walking across the room, eh?
Previously: roundtrip latency from a cabin with dialup in 2011