PrairieFire: Igniting High-Throughput Updates in Large-Scale Approximate Nearest Neighbor Search
Yuchen Huang, Baiteng Ma, Yiping Sun, Xiao Chen, Rui Ma, Yue Chen, Jinwei Zhang, Xiaocheng Zhong, Zhiyong Wang, Yao Hu, Erci Xu, Chuliang Weng
Abstract
Arrays of modern NVMe SSDs are approaching memory in terms of bandwidth while offering much lower cost per gigabyte. Hence, approximate nearest neighbor search (ANNS) for billion-scale vectors in applications such as recommendation, search, and retrieval-augmented generation increasingly runs on SSD-based systems. Unfortunately, due to the limited update throughput of existing SSD-based solutions, the indexed corpus cannot keep pace with continuous modifications to data and embedding models, thus hindering broader deployment across more scenarios and larger scales. The bottleneck lies in CPU-intensive update paths, where foreground insertions incur frequent SSD accesses and background reassignments repeatedly relocate each vector, making high update throughput difficult to achieve even by exhausting available hardware. In this paper, using buffered updates and batched local rebuilds, we develop PrairieFire with cascaded adjustments, concurrency control, and CPU-GPU-SSD cooperation. These co-designs avoid frequent SSD accesses in foreground updates and heavy background reassignments, achieving high update throughput while maintaining excellent search performance. Evaluations show that, compared with state-of-the-art systems, PrairieFire can sustain approximately 3-35x update throughput while maintaining approximately 3-5x search throughput simultaneously. It also achieves approximately 1.5-8.7x cost efficiency. PrairieFire has been deployed in RedNote's production environments for two months, improving business metrics by higher freshness without frequent index rebuilds.
Create a lesson
Related papers
Authenticated Approximate Nearest Neighbor Search in Outsourced Vector Databases
Shared title terminology · Yuanhang Zhou, Xinyi Zhang, Cheng Xu et al.
Dynamic Graph Indexing for Label-Filtered Approximate Nearest Neighbor Search
Shared title terminology · Mengxu Jiang, Zhi Yang, Fangyuan Zhang et al.
Per-Query Recall Guarantees for Approximate Nearest Neighbor Search in Dynamic Vector Databases
Shared title terminology · Woong-Kee Loh, Suan Lee
Recast: Refinement-Centered Approximate Nearest Neighbor Search Optimized for Storage
Shared title terminology · Zehai Yang, Fengyi Tao, Wenzhuo Dong et al.
Fast Approximate Line Nearest Neighbor Search
Shared title terminology · Jiadong Xie, Jeffrey Xu Yu, Yingfan Liu
Geo-Filtered Approximate Nearest-Neighbor Search on a Single Proximity Graph
Shared title terminology · Zhiqiu Zou, Rong-Hua Li, Qiangqiang Dai et al.