NETWORKING / A CONCEPT NOTE

Latency vs Bandwidth

why 'fast' means two things

~60 sec read

Overview · mechanism
pitfall · examples

01 / THE SHORT VERSION

The idea in a few sentences.

Bandwidth is the width of the pipe (how many bytes per second); latency is the speed of light (how long a single round-trip takes). You can't outrun the speed of light.

02 / FOLLOW THE MECHANISM

How time vs space flows

  1. Request

    client triggers a request. A physical signal travels down cables to the server.

  2. Latency

    round-trip time (RTT, e.g., 100ms) limits how fast a single session can get a reply.

  3. Bandwidth

    once stream starts, host pushes massive data down the connection.

  4. Throughput

    is governed by both (TCP Window Size / RTT). High latency caps transfer speeds.

04 / COMMAND NOTES

Read the command, then the result.

Inspect the flags and arguments before trying an example. Snippets can need local setup, replacement values, or resources in your own environment.

EXAMPLE 01 · REFERENCE

check round-trip latency

ping -c 10 8.8.8.8

EXAMPLE 02 · REFERENCE

test network bandwidth limits

iperf3 -c speedtest.server

Explore command anatomy in the CLI lab