🖥️ AI InfrastructureID:
high-concurrencyHigh-Concurrency Serving
高并发与负载均衡
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep DiveCore Def
Explain the core definition, underlying mechanism/math, and key principles of High-Concurrency Serving.
Use Cases
In production engineering, what are the primary use cases for High-Concurrency Serving and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Hand-compute capacity: GPU at 2000 tokens/s, average output 500 tokens, TBT budget 20 ms → max concurrency ; replicas needed for a target QPS; why latency degrades past ~80% utilization (M/M/c).
2
Token-bucket rate limiting: how to set capacity (burst) and refill rate (average QPS); handling bursts vs steady traffic; reject vs queue on overflow and the reasoning.
3
Queuing and backpressure: why the queue must be bounded; options when full (503 reject, backoff retry, degrade); how backpressure prevents retry storms and cascades, and the role of timeout circuit breaking.
4
Multi-replica routing: round-robin vs least-connections vs consistent hashing; why prefix-cache affinity calls for consistent hashing (pinning a session to a replica), and how failed replicas are drained.
5
Latency budgets and graceful degradation: how to split TTFT/TBT/P95 budgets; what priority queues, output truncation and small-model fallback sacrifice vs protect under overload.
📖 In-depth Guide:📄 high-concurrency-ai-system →
Updated 2026-08-12🎯
🚀 Start Card Practice ➔Test Your Knowledge: Practice Questions for "High-Concurrency Serving"
Single choice pitfall questions with instant feedback and mistake tracking.