TechFoundations

How the Internet Actually Works

Follow one request from the name you typed to the bytes on your screen, then find out why your connection is slower than the number on the box.

9 articles · about 68 min in total

Start with What Is DNS and How Does It Actually Work

Almost everyone who works on the web has a rough mental model of what happens when a page loads, and almost every rough model has the same hole in it. It treats the network as instant and the bottleneck as bandwidth.

Neither is true, and the difference shows up constantly. Latency and bandwidth are separate properties: one is how long a single trip takes, the other is how much fits in the pipe. Adding bandwidth to a high-latency link changes very little, which is why a fast connection can still feel slow.

So this path follows one request end to end. The name gets resolved, a transport is chosen, the connection is secured, and then the whole industry spends enormous effort on avoiding the round trip entirely, which is what CDNs and caches are for.

The last three steps answer the questions people actually search for. Why upload is slower than download, what an Ethernet cable is doing, and why a phone reports a higher speed than the laptop next to it. Those are not trivia. They are the same physics from the earlier steps, seen from the reader's own desk.

Key takeaways

  • Latency is the time for one round trip and bandwidth is the volume per second, so adding bandwidth does not fix a slow-feeling connection caused by distance.
  • TCP guarantees ordered delivery by retransmitting lost packets, while UDP does not, which is why live audio and video prefer UDP and accept loss.
  • HTTPS provides encryption, integrity and server authentication, so its value is not only privacy but knowing you are talking to the right server.
  • A CDN improves speed mainly by shortening physical distance, which reduces round-trip latency rather than increasing bandwidth.
  1. Step 1: What Is DNS and How Does It Actually Work

    DNS is the internet's phonebook, but that analogy hides the interesting part: a global lookup system, distributed across millions of servers, that resolves a name in tens of milliseconds and quietly holds the whole web together.

    Jun 1, 2026 · 8 min read

  2. Step 2: TCP vs UDP: What the Difference Actually Means

    TCP guarantees your data arrives, in order, or dies trying. UDP just fires packets and hopes. Here is why streaming, games, DNS, and even the modern web quietly run on the one everyone calls 'unreliable'.

    May 10, 2026 · 8 min read

  3. Step 3: HTTP vs HTTPS: What the S Actually Buys You

    The S in HTTPS is TLS, and it buys three things people lump into "encryption": confidentiality, integrity, and authentication. The one nobody mentions, authentication, is the one that actually matters.

    Jun 27, 2026 · 9 min read

  4. Step 4: Latency vs Bandwidth: Why Your Fast Connection Still Feels Slow

    You pay for a gigabit connection and video calls still glitch, pages still hang, and games still lag. The number on your bill measures bandwidth, but the thing you feel is latency, and more Mbps does almost nothing to fix it.

    Jun 26, 2026 · 8 min read

  5. Step 5: What a CDN Actually Does, and Why Your Site Is Slow Without One

    A CDN puts copies of your content on servers near your users so the bytes travel a short distance instead of crossing an ocean every request. The thing most people miss: the bottleneck usually isn't bandwidth, it's latency, and latency is bounded by the speed of light.

    Jun 3, 2026 · 10 min read

  6. Step 6: What Is Caching and Why Everything Uses It

    Caching is the oldest trick in computing: store an expensive result once, hand it back cheaply forever after. It lives in your CPU, your browser, the CDN, and your database. Here is how it works and when it quietly becomes a liability.

    Jun 16, 2026 · 8 min read

  7. Step 7: What Does an Ethernet Cable Actually Do

    An Ethernet cable is eight copper wires, twisted in four pairs, doing something genuinely clever. Here’s what’s inside one, why the twist matters, and which category to actually buy.

    Sep 30, 2025 · 5 min read

  8. Step 8: Why Upload Speed Is Slower Than Download Speed

    Most home internet plans give you 10x more download than upload, and most users never wonder why. The answer is partly engineering and partly an industry decision that’s harder to undo than to maintain.

    Oct 7, 2025 · 5 min read

  9. Step 9: Why Your Phone Is Faster Than Your Laptop on the Same Wi-Fi

    Same router, same room, and the phone posts triple the speed test. It is almost never the internet connection. It is the link rate your laptop negotiated, and there are four reasons it might be low. Here is how to find out which one you have in about a minute.

    Sep 7, 2020 · 7 min read

Frequently asked questions

What is the difference between latency and bandwidth?
Latency is how long a single round trip takes, measured in milliseconds. Bandwidth is how much data can move per second. A connection with high bandwidth and high latency still feels slow, because every request still waits for the round trip.
When should I use UDP instead of TCP?
When late data is worse than missing data. Live voice, video and gaming prefer UDP because retransmitting a packet that arrives after its moment has passed adds delay without adding value. Anything needing complete, ordered delivery should use TCP.
What does HTTPS actually protect?
It encrypts the traffic so intermediaries cannot read it, verifies it has not been altered in transit, and authenticates that the server is the one named in the certificate. That third property is the one people forget, and it is what stops impersonation.
Why is my upload speed slower than my download?
Because most consumer connections are deliberately asymmetric. Cable and DSL allocate more capacity to download because typical household usage is heavily download-weighted, and the allocation is a design decision rather than a physical limit.