Databases 12 min read

Volcano Milvus Hits Nearly 3× VectorDBBench Leader in Retrieval Speed

Under a fixed monthly budget of about 7,100 CNY, Volcano Milvus combines DiskANN and RaBitQ (including Extended‑RaBitQ) with in‑memory layout and query‑path slimming to deliver 20,420 QPS, 2.5 ms average latency, 93.9 % recall, achieving nearly three times the VectorDBBench top score while using roughly one‑third of the memory, disk and compute resources of competing solutions.

ByteDance SE Lab
ByteDance SE Lab
ByteDance SE Lab
Volcano Milvus Hits Nearly 3× VectorDBBench Leader in Retrieval Speed

Background and Challenge

Large language models increase memory and hardware costs, making hardware expense a primary bottleneck for scaling vector retrieval. In massive vector workloads, balancing throughput, latency, recall, and data‑import efficiency under a fixed budget is a core difficulty.

Algorithmic Foundations

Volcano Milvus integrates DiskANN and RaBitQ. DiskANN provides an in‑memory mode for maximum speed and a disk‑based mode for ultra‑large, low‑memory workloads ( https://github.com/microsoft/DiskANN). RaBitQ is a state‑of‑the‑art quantization method; its authors extended it (Extended‑RaBitQ) to multi‑bit representations, improving distance‑estimation accuracy while keeping storage low ( https://arxiv.org/abs/2409.09913). Milvus combines the two so that coarse recall uses aggressive compression and candidate refinement uses higher‑precision quantization.

In‑Memory Layout Optimizations

For high‑performance in‑memory retrieval, Milvus redesigns DiskANN’s graph structures to align with CPU cache lines. RaBitQ vectors, adjacency lists, and candidate metadata are stored contiguously in a cache‑friendly format, allowing the query thread to batch distance calculations with minimal random memory accesses. This layout does not change recall but reduces memory‑fetch time, freeing CPU cycles for distance computation and graph traversal.

Query‑Path Slimming and Runtime Tweaks

Fine‑grained analysis of the search pipeline identified unnecessary memory allocations, intermediate objects, and redundant copies. Trimming these hot‑path elements lowers base request latency, increasing overall throughput under the same resource budget.

Prioritize lightweight RaBitQ vectors during neighbor expansion.

Optimize batch distance estimation to keep data in CPU registers.

Use large pages and pool‑based indexnode allocation to reduce page‑table overhead.

Benchmark Methodology (VectorDBBench)

VectorDBBench evaluates write, search, and filtered‑search workloads. All tests were limited to a fixed monthly cost of $1,000 (≈ 7,105 CNY) and a total of 59 CPU cores (59C) for the online query chain.

Dataset: 10 M vectors from Cohere, dimension 768.

Similarity metric: cosine.

Top‑K: 100.

Recall target: 93.9 %.

Client concurrency: 250.

Hardware: Volcano Engine ECS ecs.g4al.16xlarge (proxy 8C8G, mixcoord 1C2G, querynode 48C48G, datanode 2C4G, indexnode pooled).

Results

QPS = 20,420 (≈ 3× the VectorDBBench top score).

p99 latency = 2.7 ms, average latency = 2.5 ms.

Recall = 93.9 %.

Import time ≈ 4,515 s.

Compared with the open‑source Milvus baseline, the current version delivers more than 5× performance improvement and reaches the VectorDBBench leader with roughly one‑third of the memory, disk, and compute resources.

Conclusion

Cost‑efficiency in the VectorDBBench test results from algorithmic advances (DiskANN + Extended‑RaBitQ) and deep engineering optimizations (in‑memory layout, query‑path slimming, runtime tuning). When scaling to billions of vectors, this efficiency translates into potential monthly savings of tens of thousands of yuan, making Volcano Milvus a compelling choice for high‑throughput, low‑latency, high‑recall vector retrieval in real‑world online services.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Performance BenchmarkMilvusVector RetrievalCost EfficiencyRaBitQDiskANNVectorDBBench
ByteDance SE Lab
Written by

ByteDance SE Lab

Official account of ByteDance SE Lab, sharing research and practical experience in software engineering. Our lab unites researchers and engineers from various domains to accelerate the fusion of software engineering and AI, driving technological progress in every phase of software development.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.