RedNote's Helmsman slashes ANNS costs 90% with clustering at scale
From 35,000 cores to 40 machines: a 10x cost cut for billion-scale search.
RedNote (Xiaohongshu), a global social network, has long relied on graph-based approximate nearest neighbor search (ANNS) like HNSW to power its search, recommendation, and advertising services under strict SLA requirements. However, the platform’s explosive growth in users and content caused memory footprints to balloon, driving massive capital and operational expenses. The team explored alternatives and found that clustering-based ANNS on all-flash storage could be promising—but only after overcoming kernel I/O overhead, fixed pruning strategies, and slow index construction. Their solution is Helmsman, a system accepted at OSDI’26 that combines three key innovations: an ANNS-oriented userspace storage stack, a leveling-learned pruning module, and GPU-accelerated pipelines for fast index construction.
Helmsman’s impact is staggering: it saves over 90% of hardware costs while enabling billion-scale index rebuilds within hours. In production, 40 machines now handle the same ANNS workloads that previously required roughly 35,000 CPU cores and 0.35 petabytes of DRAM. The system has been operating stably for several months, delivering high throughput and low latency without sacrificing accuracy. By ditching the memory-heavy HNSW approach and embracing clustering with flash storage, Helmsman demonstrates a cost-effective path to scaling vector similarity search for hyperscale platforms—a lesson that could reshape how social networks and recommender systems architect their infrastructure.
- Helmsman reduces hardware from 35,000 cores and 0.35 PB DRAM to just 40 machines, saving over 90% in costs.
- It uses a clustering-based ANNS approach on all-flash servers with a custom userspace storage stack to bypass kernel I/O overhead.
- GPU-accelerated pipelines enable billion-scale index (re)building within hours, a critical improvement over slow HNSW construction.
Why It Matters
Helmsman could redefine how hyperscale platforms deploy ANNS, cutting costs by an order of magnitude while maintaining performance.