Answers are grounded in this paper and cite their sources.
Deploying Large Language Models (LLMs) in serverless environments faces a critical bottleneck: the cold start latency caused by recomputing Key-Value (KV) caches during the prefill phase. Existing approaches either accept this computational overhead or require centralized cache storage, limiting scalability. We present CacheFlux, a peer-to-peer collaborative KV cache transfer mechanism designed for serverless LLM inference. CacheFlux introduces two key innovations: (1) a P2P cache borrowing mechanism that enables newly started serverless instances to stream KV caches directly from nearby "hot" instances via high-bandwidth interconnects (RDMA/NVLink), eliminating redundant prefill computation; and (2) a prefix-aware routing algorithm that uses token-sequence hashing to route requests with identical prefixes to the same instance cluster, maximizing cache hit rates. Experiments on the ShareGPT dataset with LLaMA-2-70B show that CacheFlux reduces Time-To-First-Token (TTFT) by up to 62% compared to vLLM and achieves 3.4× higher throughput than state-of-the-art disaggregated serving systems under long-context workloads.
No takes yet. Share an insight, caveat, or question.
Li et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: