An embedded key-value database in pure Rust with ACID transactions and high performance.
Redb is an embedded key-value database written in pure Rust, designed for simplicity, portability, and high performance. It provides ACID compliance and stores data in copy-on-write B-trees for reliability and efficiency, offering a stable file format with minimal dependencies.
Rust developers needing a lightweight, reliable embedded database for applications like caching, session storage, or local data persistence, particularly those prioritizing ACID transactions and crash safety.
Developers choose redb for its combination of ACID compliance, zero-copy API for efficient data access, and crash-safe design, all in a pure Rust implementation with performance competitive to established databases like LMDB and RocksDB.
An embedded key-value database in pure Rust
Offers a thread-safe, BTreeMap-based interface that enables efficient data access without unnecessary copying, as highlighted in the zero-copy feature description.
Provides fully ACID-compliant transactions with MVCC support, ensuring data integrity for concurrent readers and writers without blocking.
Designed to be crash-safe by default, preventing data loss on unexpected failures, which is a core feature emphasized in the README.
Benchmarks show redb performs similarly to top embedded stores like lmdb and rocksdb, with strengths in individual writes as detailed in the performance table.
In operations like bulk load and random reads, redb is slower than lmdb, as shown in benchmarks, indicating areas where it may not be optimal.
Running tests and benchmarks requires extra dependencies like cargo-deny and libclang-dev, which complicates setup compared to simpler embedded databases.
As a newer project, redb has a smaller community and fewer third-party tools than established alternatives like RocksDB, potentially affecting long-term support.
A scalable, distributed, collaborative, document-graph database, for the realtime web
Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/
🚀2.3x faster than MinIO for 4KB object payloads. RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.
Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.