KVCompass: A Discovery Plane for Internet-Scale Prefix Cache Sharing in LLM Serving
Shiyi Ling, Fei Fang, Chen Qian
Abstract
KV cache reuse is one of the most effective ways to reduce LLM inference cost, but today its benefits are largely confined to a single cluster. When a provider serves the same model across geographically distributed regions, each region may repeatedly prefill the same popular prefixes, wasting GPU time and increasing time-to-first-token (TTFT). Exploiting reuse across regions involves discovering which worker currently holds a reusable KV cache for each request's prefix. We show that this KV cache discovery problem is structurally harder than conventional object lookup. Unlike hash-placement mechanisms such as DHTs, where an object's location is a deterministic function of its key, KV caches are created on the workers that serve requests, and their holder sets change with subsequent requests and KV cache evictions. KV cache discovery therefore calls for decoupling KV cache identity from placement. We present KVCompass, a discovery plane for Internet-scale KV cache sharing. The discovery index supports variable-length prefix lookup with constant-time local table reads at the edge, allowing each request to be forwarded to the worker that best balances KV cache reuse against load and network distance. Evaluation includes a 64-worker geo-distributed simulation and a 14-worker three-continent real-machine testbed. Evaluation shows that KVCompass achieves 1.3-14× lower P99 TTFT than the baselines, up to 3.7× lower P99 end-to-end latency, up to 4.7× the throughput, and a peak load factor within 2% of the Oracle floor.
Create a lesson
Related papers
Bursts That Outlast Themselves: Persistent Degradation in Prefix-Cached Agent Serving
Shared title terminology · Wen Huang, Jack Liu
HiState: Hierarchical Prefix Cache Management for Hybrid LLM Serving in Agentic Workloads
Shared title terminology · Zaifeng Pan, Lucas Wang, Xinwei Qiang et al.
KVStream: Adaptive Parallel Storage Management for KV Caching in Large-Scale LLM Serving
Shared title terminology · Avinash Maurya, Jaiaid Mobin, Jie Ye et al.
TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming
Shared title terminology · Jinbin Luo, Xiaozhe Yao, Shang Yang et al.
Twindex: Index Cache Offloading with Coarse-to-Fine Selection for Long-Context Sparse-Attention Serving
Shared title terminology · Yuxuan Xia, Jiakun Fan, Han Meng et al.
XM-Sparse: High-Throughput Sparse-Attention LLM Serving over Scale-up Memory Pools
Shared title terminology · Yijun Sun, Xudong Liao, Zhuobin Huang et al.