AI Infra Interviews logo

latency

AI infra interview questions tagged latency, across every topic.

33 questions · 6 unlocked for you

Concepts behind "latency"

Review the concepts used in these questions.

Foundational
🚀 Inference & Serving
Latency Metrics: TTFT, TPOT and GoodputRead a stream from its timestamps: distinguish first-token wait, individual gaps and average generation pace. Compute goodput with explicit deadlines, denominators and failure accounting.
Foundational
📐 AI Systems Design
Multi-Region Serving and FailoverMulti-region serving can improve geographic reach and survive a regional outage. It requires enough remaining capacity and a clear plan for state, routing and degraded service.
Core
📐 AI Systems DesignSign in
Designing for Latency SLOsA latency budget follows a request through networking, queueing and model execution. Use measurements to find which stage causes slow responses under load.
Advanced
🕸️ Distributed Training🔒 Premium
Ring vs Tree All-ReduceTrace one chunk through a ring, separate byte balance from startup rounds, and compare tree depth without assuming identical bandwidth. Use measured message sizes and topology to choose.
Advanced
🚀 Inference & Serving🔒 Premium
Speculative DecodingA draft proposes tokens; the target checks them with a sampling rule that preserves its distribution. Work through the correction after rejection, count accepted drafts separately from emitted tokens, and decide whether the measured round cost earns a speedup.
Advanced
🚀 Inference & Serving🔒 Premium
Reranking and Retrieval BudgetsA reranker spends extra computation on retrieved candidates. Count query-document pairs, protect permission boundaries and measure whether better evidence justifies its added queueing and latency.