DevOpsInterviewPrep logo

latency

DevOps interview questions tagged latency, across every topic.

18 questions · 2 unlocked for you

Concepts behind "latency"

The concept pages behind what these questions are testing.

Foundational
🐧 Systems Foundations
Everything is a queue, and the queue is where the latency livesA packet queues at the NIC, a connection queues in the accept backlog, a request queues for a worker, a query queues for a connection, a write queues at the disk. Queueing is one source of latency; service time, fan-out and network delay matter too. A queueing model is useful only when its assumptions match the workload.
Foundational
🤖 AI Infrastructure
Prefill and decode are two different workloads on one GPUPrefill builds prompt state; decode extends each sequence token by token. Their bottlenecks depend on model, batch size and context length. Measure first-token and inter-token latency separately before choosing batching or disaggregation.
Foundational
🤖 AI Infrastructure
Tokens are the unit of cost, latency and capacity at onceRequests per second is the wrong unit for anything involving a model. Tokens determine what you pay, how long a request takes, and how many users fit on a GPU, which is why capacity, cost and latency stop being three separate conversations.
Core
⚙️ Infrastructure at ScaleSign in
Napkin math: sizing a system before you draw itDesign rounds put a number in the prompt on purpose. Arithmetic done in the first two minutes eliminates whole classes of architecture and is the difference between designing something and describing something. These are the reference figures and the method for using them.
Core
⚙️ Infrastructure at ScaleSign in
Saturation and utilisation targets: why systems fall over before they are fullLittle's law relates average concurrency, throughput and residence time. Queueing models explain why variable demand needs headroom; measurements and the failure case determine the utilization target.