Latency and Transfer Rate

Latency measures elapsed time for an event or round trip. Transfer rate measures data delivered per unit time.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Compute a rough transfer
  2. Choose a useful observation
  3. Estimate one round trip and the subsequent transfer
  4. Check which term dominates the actual payload sizes

Compute a rough transfer

At a sustained 10 megabits per second, sending one megabit uses 0.1 seconds of transmission at that rate, before accounting for waits and protocol behavior. A unit-aware calculation distinguishes bits from bytes.

Choose a useful observation

A tiny request may be dominated by waiting for a round trip. A larger response may spend much longer transferring bytes. Packet delay separates contributing components under a model.[1][2]

Estimate one round trip and the subsequent transfer

In a simplified model with forty milliseconds of request latency and sustained delivery of five megabytes per second, four megabytes takes about 0.8 seconds of transfer. Adding the fixed delay gives 0.84 seconds before considering processing or extra exchanges. See goodput.

Fixed exchange latency: 0.04 s
Payload transfer: 4 MB ÷ 5 MB/s = 0.8 s
Simplified total: 0.84 s

Check which term dominates the actual payload sizes

Small responses can be dominated by round-trip or setup time. Larger ones can depend on sustained useful throughput. Measure both with an explicit definition of byte units and include relevant queuing.

References

  1. Larry Peterson and Bruce Davie, Computer Networks: A Systems Approach ↩
  2. IETF, RFC 9110: HTTP Semantics ↩