🖥️ AI InfrastructureID:
prompt-caching-radixPrompt Caching & RadixAttention
Prompt Caching/RadixAttention
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep DiveCore Def
Explain the core definition, underlying mechanism/math, and key principles of Prompt Caching & RadixAttention.
Use Cases
In production engineering, what are the primary use cases for Prompt Caching & RadixAttention and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Radix-tree prefix reuse: how a new request does longest-prefix matching; how hit prefixes vs unmatched suffixes are handled; how the tree splits/merges as requests end.
2
Why TTFT drops 80%+: prefill compute is proportional to unmatched tokens; convert hit rate and prefill share into numbers (prefill is 90% of TTFT, 90% hits → TTFT down ~81%).
3
Eviction policies: how LRU / reference counting work on the radix tree (branch-wise eviction); the cost of evicting hot prefixes on hit rate and TTFT.
4
Which workloads gain most: system prompts, multi-turn, multi-tenant sharing; estimate hit rate and token savings, and how caching composes with continuous batching and PD disaggregation.
5
vLLM prefix caching vs SGLang RadixAttention: block-hash matching vs radix-tree longest-prefix matching; hit granularity, implementation complexity, and the gap on long shared prefixes.
📖 In-depth Guide:📄 high-concurrency-ai-system →
Updated 2026-08-12🎯
🚀 Start Card Practice ➔Test Your Knowledge: Practice Questions for "Prompt Caching & RadixAttention"
Single choice pitfall questions with instant feedback and mistake tracking.