---
title: "Take a typical LLM serving stack: an API gateway, a request queue, a pool of GPU inference servers running continuous…"
url: https://gurkanozkan.ai/learn/questions/lead-td-02/
markdown: https://gurkanozkan.ai/learn/questions/lead-td-02.md
kind: question
role: AI leadership
stage: System design
difficulty: Very hard
json: https://gurkanozkan.ai/api/learn/questions/lead-td-02.json
robots: noindex
---

# Take a typical LLM serving stack: an API gateway, a request queue, a pool of GPU inference servers running continuous batching, and a single region behind a load balancer. What breaks under load, and what would you change first?

AI leadership · System design · Very hard

Theme reported publicly: [Anthropic](https://www.aced.io/guides/anthropic-engineering-manager-interview)

## Answer

*Model answer, written in a candidate's voice*

### In short

- Accelerator memory and KV cache are the primary bottleneck; batching policy and queueing drive tail latency
- Admission control, backpressure, priorities, and graceful degradation under overload
- Routing and multi-region: health-aware, latency-aware placement rather than round-robin
- Observability: per-stage latency, KV cache occupancy, queue depth, rejection rate
- Cost/latency trade-offs: batch size, max output length, model tiering
- Prioritise fixes: memory/admission first, then routing/observability, then cost tuning

### In full

Since the specific design isn't shown, I'd reason from the usual failure modes, and the first thing that breaks is accelerator memory: KV cache grows with sequence length and batch size, so under load the scheduler either queues requests or preempts/evicts, and tail latency blows up. I'd fix admission control and batching first — cap concurrent sequences, use continuous batching with a hard token/batch budget, and shed or degrade low-priority traffic rather than letting the queue grow unboundedly. Then add backpressure and priorities so interactive traffic survives overload, and route across regions with health- and latency-aware balancing instead of round-robin. Observability — per-stage latency, KV cache occupancy, queue depth, rejection rate — is what tells you which of these is actually binding, so I'd instrument before and after. On cost/latency, larger batches improve throughput but hurt latency, so I'd tune batch size and max output length against SLOs and consider smaller models or shorter contexts for low-value traffic. Priorities: memory/KV-cache and admission control first, then routing and observability, then cost tuning.

*Checked against sources by an independent AI reviewer.*

## What a strong answer covers

- Finds the bottlenecks: accelerator memory and KV cache, batching policy, queueing
- Overload handling: admission control, backpressure, priorities, graceful degradation
- Routing and multi-region
- Observability
- Cost/latency trade-offs
- Prioritises the fixes

## Common mistakes

- Redesigning from scratch instead of critiquing
- Ignoring tail latency and overload

## Topic guides

- [LLM serving: latency, throughput and operations](https://gurkanozkan.ai/learn/topics/serving.md)
- [Reliability engineering for ML and LLM systems](https://gurkanozkan.ai/learn/topics/systems-reliability.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
