#1818th of 30 in Vector databases
diskann
Rust vector indexing library with pluggable storage providers and real-time updates
- Stars
- 2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Rust
1,758 on 28 Apr 20261,976 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
DiskANN3 is a Rust library for approximate nearest neighbor search. You implement a `DataProvider` trait for your store, and the library handles vector insert, update and query on top of it. The repo ships example providers: in-memory, disk, Garnet-based and Bf-tree. Legacy C++ code lives on the `cpp_main` branch and is not maintained.
Who it is for: Database engineers embedding ANN vector indexes in their own storage
Strengths
- Real-time updates with stable recall, no merges or rebuilds, per README
- Quantizers PQ, MinMax, Scalar and Spherical for x86 and aarch64
- Pagination, range filters, diversity-aware top-k and attribute filter hooks
- Provider trait lets you map the index onto your own store
Weaknesses
- A library, not a standalone server; you must integrate it or implement a provider
- In-memory providers are volatile and not intended for use in databases
- Cosmos DB provider is not included in the repo
- Getting-started docs point only to a benchmark tool, with no usage tutorial
What it needs
- no GPU
- Needs Garnet (optional, for Garnet provider)
What changed
- v0.62.0 ↗ (opens in a new tab)Breaking
“Custom data providers (#1541): DataProvider::to_external_id was removed.”
- v0.61.0 ↗ (opens in a new tab)Breaking
“Changes are concentrated in quantization APIs and experimental/tooling crates.”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- error building index [bftree-full-precision] ↗ (opens in a new tab)1 reactions · closed 26 Jun 2026Fixed by fix(bftree): validate record sizes at construction ↗ (opens in a new tab)
- [BUG] No gates for `disk-index` feature ↗ (opens in a new tab)1 reactions · closed 18 Mar 2026Fixed by CI maintenance ↗ (opens in a new tab)
- [BUG] use dtolnay/rust-toolchain@master instead of dtolnay/rust-toolchain@stable in CI ↗ (opens in a new tab)1 reactions · closed 16 Mar 2026Fixed by ci: use dtolnay/rust-toolchain@master instead of @stable ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Vector databases
See all 30| Rank | Project | Score |
|---|---|---|
| #16 | usearchProximity-graph nearest-neighbor index with bindings for 14 languages | 69 out of 100 |
| #17 | turbovecIn-process quantized vector index for Python and Rust using TurboQuant | 67 out of 100 |
| #19 | hnswlibHeader-only C++ library for approximate nearest neighbor search with HNSW graphs | 60 out of 100 |
| #20 | jvectorJava graph-based vector index combining HNSW layers with DiskANN's Vamana | 60 out of 100 |
| #21 | attuManagement UI for Milvus clusters with data browsing, search and an AI agent | 59 out of 100 |