What are bandwidth, latency and throughput?
MediumConceptNetwork Basics & Devices
Answer
Bandwidth is the maximum rate at which a link can carry data, measured in bits per second (bps). Latency is the time a piece of data takes to travel from source to destination. Throughput is the rate at which data is actually delivered, and it is never higher than the bandwidth.
- Latency is the sum of several delays: transmission delay (packet size ÷ bandwidth), propagation delay (distance ÷ signal speed), queuing delay in busy routers and processing delay.
- Throughput falls below bandwidth because of protocol overhead, congestion, packet loss and retransmission, and because the slowest link on the path (the bottleneck) limits the whole path.
- Round-trip time (RTT) is the time for a message to reach the destination and for the reply to come back. Every TCP handshake and acknowledgement costs RTTs, so high latency slows even a high-bandwidth link.
Example: Sending a 1,500-byte packet (12,000 bits) over a 10 Mbps link gives a transmission delay of 12,000 ÷ 10,000,000 s = 1.2 ms. Over 2,000 km of fibre, where signals travel at about 2 × 10^8 m/s, the propagation delay is (2 × 10^6 m) ÷ (2 × 10^8 m/s) = 0.01 s = 10 ms. The one-way delay, ignoring queuing and processing, is about 1.2 + 10 = 11.2 ms.