Foresight Indexing: Accelerating B+tree Index with Programmable Switches on the Network Path
Feiyu Wang, Qiuheng Yin, Yixin Zhang, Tong Yang
Abstract
The B+tree indexing scheme is widely employed in file systems and database systems. Modern data centers often adopt a disaggregated architecture, where compute servers and storage servers are deployed on separate machines connected via a network. Storage servers typically rely on B+tree-based indexing. However, with the rapid growth in network bandwidth, the bottleneck has shifted from the network to the indexing, challenging the scalability of these systems. In this paper, we present ForeIn, a novel architecture that offloads part of the storage indexing process to programmable switches within the network path. Specifically, we make three key contributions. First, we develop the PrefixCover algorithm, which converts a B+tree query into a longest prefix match query. This transformation allows partial deployment of B+tree operations in the switches at line rate. Second, we propose a greedy algorithm that dynamically adapts the PrefixCover algorithm to the resource constraints of programmable switches. Third, we design a data plane leveraging programmable switch capabilities, ensuring consistency between servers and switches with minimal overhead and minimal device modifications. We implement ForeIn on a testbed and conduct extensive experiments. Results demonstrate that ForeIn improves the throughput of B+tree-based storage servers by an average of 1.2 times. The source code is publicly available on GitHub [1].
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.
Related papers
- DEX: Scalable Range Indexing on Disaggregated MemoryBaotong Lu, Kaisong Huang, Chieh-Jan Mike Liang, Tianzheng Wang et al.VLDB 2024 · 17 citations
- dLSM: An LSM-Based Index for Memory DisaggregationRuihong Wang, Jianguo Wang, Prishita Kadam, M. Tamer Özsu et al.ICDE 2023 · 27 citations
- Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated MemoryQing Wang, Youyou Lu, Jiwu ShuSIGMOD 2022 · 99 citations
- CHIME: A Cache-Efficient and High-Performance Hybrid Index on Disaggregated MemoryXuchuan Luo, Jiacheng Shen, Pengfei Zuo, Xin Wang et al.SOSP 2024 · 10 citations
- Bf-Tree: A Modern Read-Write-Optimized Concurrent Larger-Than-Memory Range IndexXiangpeng Hao, Badrish ChandramouliVLDB 2024 · 14 citations
