Glossary termConcept

Latency

Also known as: Lag, Delay

Time delay between a cause and its effect in a system, such as between sending a request and receiving the first part of the response.

Latency measures how long something takes to happen, as distinct from how much can happen at once. In networking it is the time for data to travel from one point to another, often reported as round-trip time, the interval between sending a packet and receiving a reply. In storage and memory it is the delay before requested data becomes available. Latency is different from bandwidth or throughput, which measure how much data moves per second: a link can carry enormous volumes yet still respond slowly to each individual request.

Several components add up to total latency. Propagation delay is limited by physics: light in optical fiber travels at roughly two-thirds of its speed in a vacuum, about five microseconds per kilometer, so distance alone imposes delays that no hardware can remove. Transmission, queuing in busy routers and processing in servers add more. Inside a computer, the gap between fast processor caches, slower main memory and much slower storage spans several orders of magnitude, which shapes how software is designed. Engineers often track tail latency, such as the slowest one percent of requests, because averages hide the delays users notice most.

Latency strongly affects how technology feels to people. Usability research has long held that responses within about a tenth of a second feel instantaneous, while longer waits break concentration. Online games, video calls, music performance and financial trading are especially sensitive, as covered in audio latency and frame rate. Techniques to reduce latency include caching, content delivery networks, edge computing, faster storage and protocol designs that need fewer round trips. Latency targets are common ingredients in service level objectives.

Key points

  • Latency is the delay before something happens; bandwidth is how much data moves per second.
  • Light in fiber covers roughly 200 kilometers per millisecond, setting a physical floor on network delay.
  • Tail latency, the slowest requests, often matters more to users than average latency.
  • Caching, CDNs and edge computing reduce latency by moving data closer to users.

Related entries

Glossary term

Audio Latency

AudioHardware

Delay between a sound entering an audio system and emerging from it, caused mainly by buffering and conversion, measured in milliseconds.

Glossary term

Frame Rate

Video GamesHardware

Number of distinct images a game or video displays per second, measured in frames per second and closely tied to smoothness and responsiveness.

Glossary term

Geographically distributed network of servers that caches and delivers web content from locations close to users to improve speed and reliability.

Glossary term

Edge Computing

DevOpsHardware

Distributed computing approach that processes data near where it is produced or used, rather than sending everything to distant centralized data centers.

Glossary term

Target value for a measured aspect of a service's performance, such as availability or latency, that a team commits to meeting over a set period.

Glossary term

Fast, volatile computer memory that holds the data and instructions programs are actively using, readable and writable in any order.

Glossary term

Storage device that keeps data in flash memory chips with no moving parts, offering much faster access than spinning hard disk drives.

Referenced by

Other entries that discuss or point to Latency.