From GitHub · · 1m 50s
KiviDB: Fast Rust Database with Vector Search
KiviDB, a Rust-based Redis alternative, offers vector search and full-text capabilities with 9× Redis 8 performance.
In brief
KiviDB, a Rust-based Redis alternative, offers vector search and full-text capabilities with 9× Redis 8 performance. KiviDB provides a fast, multi-threaded Redis alternative with built-in vector search and full-text capabilities. Originally reported by GitHub.
What is KiviDB
KiviDB is a fast, multi-threaded alternative to Redis® and Valkey written in Rust.
Protocol compatibility

KiviDB speaks the Redis protocol (RESP2 and RESP3) so existing Redis clients work unchanged.
Full-text and vector search

KiviDB includes full-text and vector search built in with Redis Stack, style FT.* commands.
Performance benchmarks

On 32 cores, KiviDB serves 21 million pipelined GETs per second: 9× Redis 8 and 2.3× Dragonfly.
Latency comparison
KiviDB has under half Dragonfly's p99 latency for pipelined operations.
Key-value performance
KiviDB achieves 21.2M ops/s for pipelined GETs on 10 million keys with 100-byte values.
Vector search performance
KiviDB handles 59.3k queries per second at ef 64 with 0.943 recall for vector searches.
Ingest time

KiviDB builds vector indexes in 31 seconds for 1.18 million vectors.
Persistence options
KiviDB uses snapshots and an optional append-only file for data persistence.
License and open source
KiviDB is licensed under GNU Affero General Public License v3 (AGPL-3.0-only).
Build variants

KiviDB offers four build variants: default, lua, tls, and full with Cargo features.
Docker deployment
KiviDB runs via Docker with port 6380 and supports TLS on port 6381.
Client compatibility
KiviDB works with existing Redis clients and libraries without modification.
Protected mode

KiviDB has protected mode on by default to restrict connections to the same machine.
Vector search commands
KiviDB uses FT.CREATE and FT.SEARCH for full-text and vector searches.
What happens next
KiviDB continues to improve with new releases and features for database users.
The key point
KiviDB provides a fast, multi-threaded Redis alternative with built-in vector search and full-text capabilities.





