All posts
Networking3 min readWatchFor Team

What is Latency? (and how to reduce it)

Latency is the delay between asking for something and getting it — and it shapes how fast everything online feels. Here's what it is, what causes it, and the practical ways to cut it.

What is Latency? (and how to reduce it)

You click a link and there's a beat — a tiny pause — before anything happens. That pause is latency, and it's one of the most important (and most misunderstood) numbers on the internet. It's why a site can feel sluggish even on a fast connection, and why "just add more bandwidth" often doesn't help.

What latency is

Latency is the time it takes for data to travel from one point to another and back — the delay between a request and the start of a response. It's usually measured in milliseconds (ms), and lower is better.

A helpful frame: bandwidth is how much data you can move; latency is how long it takes to start moving. A wide pipe with high latency still feels slow. (More on that in bandwidth vs latency.)

What causes latency

Latency is the sum of several delays along the way:

CauseWhat's happening
DistanceData physically travels at finite speed — far = slower
Network hopsEach router along the path adds a little
Server processingTime for the server to think (TTFB)
CongestionBusy networks queue traffic
Packet lossLost packets trigger slow retransmissions

The big, unavoidable one is distance — there's a hard physical floor on how fast a signal crosses an ocean. That's exactly why serving content closer to users matters so much.

How to measure it

The classic tool is ping, which sends a packet and times the round trip (RTT). For the full picture across the route, traceroute and MTR show the latency at each hop, so you can see where the delay builds up.

And remember to look at percentiles, not averages — your slowest requests (p95/p99) are where users actually feel the pain.

How to reduce it

You can't beat physics, but you can shorten the trip and the wait:

  1. Use a CDN. Serving content from a nearby edge is the single biggest latency win for a spread-out audience — it shrinks the distance.
  2. Lower your TTFB. A faster backend (caching, optimised queries) cuts the server-think portion.
  3. Reduce round trips. Fewer requests, connection reuse, and modern protocols (HTTP/3) mean fewer back-and-forths.
  4. Put compute near users. Edge rendering and regional deployments cut distance for dynamic content too.
  5. Fix the network basics. Address packet loss and congestion that inflate effective latency.

The mental model: latency = distance + hops + server-think. To cut it, shorten the distance (CDN/edge) and shorten the think (faster backend). Those two moves cover most of it.

Why it matters

Latency compounds. Every extra round trip and every slow hop adds up, and users feel it as a site that "drags." It affects conversions, bounce rate, and the perceived quality of everything from page loads to API calls to video calls. Low latency is a feature.

The bottom line

In one line
WhatThe delay between request and response (in ms).
Biggest causeDistance — data travels at a finite speed.
MeasurePing (RTT), traceroute/MTR; look at p95/p99.
ReduceCDN/edge (distance) + faster backend (TTFB).

Latency is the quiet tax on everything online. You can't repeal physics, but you can serve content closer and respond faster — and that's most of the battle.

Measure it with the free ping and traceroute tools; go deeper in latency percentiles.

Share this article