distx-0.2.4 has been yanked.
DistX
A fast, in-memory vector database written in Rust. Designed with Redis-style simplicity and full Qdrant API compatibility.
Performance
DistX delivers comparable performance to Qdrant with the following characteristics:
| Metric | Typical Performance |
|---|---|
| Insert | ~8,000 ops/sec |
| Search | ~400-500 ops/sec |
| Search Latency (p50) | ~2ms |
| Search Latency (p99) | ~5ms |
Benchmarks: 5,000 vectors, 128 dimensions, Cosine distance, Docker deployment
See Performance Benchmarks for detailed results.
Quick Start with Docker
The fastest way to get started - no compilation required:
# Pull and run
Or with Docker Compose:
DistX is now accessible at:
- REST API: http://localhost:6333 (Qdrant-compatible)
- Web UI: http://localhost:6333/dashboard
- gRPC API: localhost:6334
See Docker Guide for more options.
Installation
From crates.io
As a Library
Add to your Cargo.toml:
[]
= "0.1.0"
# Or individual components:
= "0.1.0" # Core data structures (Vector, HNSW, BM25)
= "0.1.0" # Persistence layer (WAL, snapshots)
= "0.1.0" # REST and gRPC APIs
From Source
Prerequisites
- Rust 1.75+: Install from rustup.rs
- LMDB (for persistence):
- Linux:
sudo apt-get install liblmdb-dev - macOS:
brew install lmdb
- Linux:
Quick Start
Run the Server
# Using cargo install
# Or from source
# With custom options
The server will start and listen on:
- REST API:
http://localhost:6333(Qdrant-compatible) - Web UI:
http://localhost:6333/dashboard - gRPC API:
localhost:6334
Create a Collection
Insert Vectors
Search Vectors
Features
- Fast Vector Search: HNSW index with SIMD optimizations (AVX2, SSE, NEON)
- Text Search: BM25 full-text search with ranking
- Payload Filtering: Filter results by JSON metadata
- Dual API: REST (Qdrant-compatible) and gRPC
- Web Dashboard: Uses Qdrant's fully compatible dashboard UI
- Docker Ready: Single command deployment
- Persistence: Redis-style snapshots, WAL, and LMDB storage
- Lightweight: Single ~6MB binary
Configuration
)
)
)
)
Architecture
distx/
├── lib/
│ ├── core/ # Core data structures (Vector, Point, Collection, HNSW)
│ ├── storage/ # Persistence layer (WAL, snapshots, LMDB)
│ └── api/ # REST and gRPC APIs
└── src/
└── main.rs # Main entry point
Web Dashboard
DistX uses Qdrant's Web UI, which is fully compatible thanks to our Qdrant API implementation:

Access it at http://localhost:6333/dashboard
Features:
- View all collections and their statistics
- Create and delete collections
- Browse points with pagination
- Interactive API console for testing
- Full compatibility with Qdrant's dashboard features
Documentation
- Quick Start Guide - Get started quickly
- Docker Deployment - Docker and docker-compose guide
- Architecture - System design
- API Reference - REST and gRPC API docs
- Performance - Benchmarks and optimizations
Links
- Crates.io: https://crates.io/crates/distx
- Documentation: https://docs.rs/distx
- GitHub: https://github.com/antonellof/DistX
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.