What a Radix Tree Saves on a Shared Prompt
An SGLang deployment serves a product where every request carries the same 2,000-token system prompt and few-shot block, followed by a user turn averaging 100 unique tokens. RadixAttention keeps a radix tree mapping token sequences to paged KV blocks, and evicts the least recently used leaf first.
Across 1,000 requests, what changes, and what does the leaf-first eviction rule protect?
Sign in to answer questions and track your progress
Sign In