Note · Queues

The queue is the system

10 November 2026 · 4 min read

A link can be completely idle and still make a request feel slow. The capacity is there; the issue is where the packets wait before they get to use it. When people say a network is “fast,” they usually mean it has bandwidth. When they say it is “responsive,” they mean the queue in front of that bandwidth is short.

The relationship is not mysterious. Queueing delay grows as utilization approaches capacity. At low load, a packet arrives and leaves. At high load, it arrives behind other packets and waits. The waiting time depends on arrival patterns, service time, and how much buffer is available. A larger buffer can absorb bursts, but it can also add latency to every packet that shares the queue.

This is why a speed test and a video call can disagree. The speed test fills the link and reports a large number. The video call sends small, regular packets and cares about how long each one waits. If the buffer is deep and the link is busy, the call experiences the queue even though the raw throughput looks healthy.

Bandwidth is a rate. Latency under load is a shape.

I look at three things when this happens: the queue discipline, the buffer size, and the arrival pattern. A shallow queue drops earlier but keeps delay bounded. A deep queue avoids drops but can turn a momentary burst into a long tail. The right answer depends on what the application needs, not on which setting produces the larger throughput number.

The useful mental model is that the queue is not an implementation detail at the edge of the system. It is part of the system’s behavior. If you do not know where packets wait, you do not yet know why the request is slow.

← All notes