TurboCache: Empowering Switch-Accelerated Key-Value Caches with Accurate and Fast Cache Updates
Xiang Chen, Longlong Zhu, Linying Zheng, Lingfei Cheng, Jianshan Zhang, Xu Yang, Dong Zhang, Xuan Liu, Xiaoming Lu, Xun Yi, Ibrahim Khalil, Albert Y. Zomaya
Abstract
Recent key-value (KV) caches are offloaded to programmable switches to offer high query processing performance. However, they suffer from both low accuracy in hot key detection and high latency in cache updates due to the strict limitations on switch registers. We propose TurboCache, a switch-accelerated KV cache with accurate hot key detection and fast cache updates. Our key idea is to leverage the switch recirculation capability to build a novel data structure that caches hot KV pairs. With this hardware-compatible cache data structure, TurboCache designs efficient data plane algorithms that accurately detects new hot keys and quickly updates its cache entirely within switch ASIC pipelines. We have implemented TurboCache on aGbps Tofino switch. Testbed results indicate that TurboCache improves the hot key detection accuracy and decreases the cache update latency of existing KV caches by several orders of magnitude.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get d0fb5088-9c21-4bcd-9bd2-0d0e8b4fe2efRelated papers
- Pushing the Limits of In-Network Caching for Key-Value StoresGyuyeong KimNSDI 2025 · 9 citations
- FarReach: Write-back Caching in Programmable SwitchesSiyuan Sheng, Huancheng Puyang, Qun Huang, Lu Tang et al.USENIX ATC 2023 · 22 citations
- Turbo: Efficiently Serving Long-Context Large Language Models with In-Network AggregationYing Wan, Yuchen Xu, Chuwen Zhang, Yingsheng Huang et al.SIGCOMM 2026
- P4LRU: Towards An LRU Cache Entirely in Programmable Data PlaneYikai Zhao, Wenrui Liu, Fenghao Dong, Tong Yang et al.SIGCOMM 2023 · 18 citations
- SketchPipe: Toward Accurate Sketch-based Network Measurement on Multi-Pipeline Switches with Splitless Sketch PlacementXiang Chen, Longlong Zhu, Linying Zheng, Hongyang Du et al.NSDI 2026
