redb
An embedded key-value database in pure Rust (by cberner)
heed
A fully typed LMDB wrapper with minimum overhead š¦ (by meilisearch)
redb | heed | |
---|---|---|
24 | 17 | |
2,914 | 445 | |
- | 5.4% | |
9.2 | 8.9 | |
4 days ago | 6 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
redb
Posts with mentions or reviews of redb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-09.
-
Are You Sure You Want to Use MMAP in Your DBMS?
I wrote redb (https://github.com/cberner/redb) using mmap, initially. However, I later removed it and switched to read()/write() with my own user space cache. I'm sure it's not as good as the OS page cache, but the difference was only 1.2-1.5x performance on the benchmarks I cared about, and the cache is less than 500 lines of code.
-
struct_db 0.4.0
exposure of the redb builder functionalities.
-
redb (safe, ACID, embedded, key-value store) 1.0 release!
redb has reached its 1.0 release. The file format is now gauranteed to be backward compatible, and the API is stable. I've run pretty extensive fuzz testing, but please report any bugs you encounter.
-
RFC: redb (embedded key-value store) nearing version 1.0
I'm just now updating the benchmarks in the readme with multi-threaded workloads :) https://github.com/cberner/redb/pull/576
-
Best local database that works on all platforms including web?
redb, but that doesn't have a stable file format yet,
-
What do you recommend for conflict-free replicated data type (CRDT) support in Rust?
I also have to support web, so I'm considering a hybrid approach with a direct IndexedDB API there and something like sqlite, percy, sanakirja, or redb on native.
-
Some key-value storage engines in Rust
Nice list, but donāt forget persy, redb and sanakirja too!
-
Are there a demand for management system of embedded storage like RocksDB? I plan to build one in Rust as the language becoming a core of many popular databases but wonder if thereās a demand. Canāt find any similar project even in other languages.
check out https://github.com/cberner/redb! it is inspired by LMDB and has comparable performance, but is entirely built in rust!
-
Meilisearch just announced its $15M Serie A, the search Rust engine strikes again
Yup, the language is immature in some domains like data replication, compilation time, lifetime expressivity, not having a default async runtime and the incompatibility of all of them. But many of these domains are worked on and improved every day this is why I love this language so much. This is because there is space for improvement. I also hope that one day we will have a pure-Rust LMDB alternative that I can contribute to without fear of C.
-
RFC+AMA: redb, embedded key-value store file format
they are, ya! I'm quite excited about that, and already have a PR open to use GATs. It's not enough to fix this issue though, because std needs to add support for LendingIterator too
heed
Posts with mentions or reviews of heed.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-06.
-
What's everyone working on this week (10/2023)?
At Meilisearch we are currently trying to add a better error handling in heed v0.20, our LMDB key-value store wrapper. Unfortunately, when there are a lot of generics it can become harder to play withā¦
-
Weāre the Meilisearch team! To celebrate v1.0 of our open-source search engine, Ask us Anything!
There are issues and pull requests but I advise you to look at the milli folder in the Meilisearch repository, itās where all the logic is done. We extensively use RoaringBitmaps, heed the LMDB wrapper and grenad when indexing.
-
Release of an alpha version to perfect the heed library: the most maintained Rust LMDB wrapper
Iāll continue to introduce new features and new safety guards until v0.20.0. Can you tell me more about your project? Or is it private?
-
Are there any embedded databases that have multiple-process support?
LMDB support multiple readers and one writer at the same time. It is ensured by the library. Note that LMDB is a key-value store. You can use the heed library which is the most maintained Rust wrapper.
-
Key/Value Store Recommendations
Note that heed is ensuring that you are not trying to use transactions, databases and environments in the right way. I have added much more work in that regard in the important update that I am working on too!
-
What's everyone working on this week (45/2022)?
I am currently working on exposing the new LMDB encryption feature from heed the safe LMDB wrapper with the help of the Cryptography community.
- Ask for advice from the cryptographic community about heed: the LMDB wrapper
-
redb: high performance, embedded, key-value database in pure Rust
Have you considered heed or even sanakirja?
-
[Requesting Help] LMDB Databases in Rust
rkv hasn't been updated for a while. I recommend using heed - https://docs.rs/heed
-
I need a stable Key-Value database
For wrappers around LMBD, I'd recommend RKV or Heed https://github.com/mozilla/rkv https://github.com/Kerollmops/heed
What are some alternatives?
When comparing redb and heed you can also consider the following projects:
sled - the champagne of beta embedded databases
nebari - A pure Rust database implementation using an append-only B-Tree file format.
KeyDB - A Multithreaded Fork of Redis
ab-av1 - AV1 re-encoding using ffmpeg, svt-av1 & vmaf.
lmdb-rs - Rust bindings for LMDB
tokio-uring - An io_uring backed runtime for Rust
rkv - A simple, humane, typed key-value storage solution.
rust - Empowering everyone to build reliable and efficient software.
milli - Search engine library for Meilisearch ā”ļø
sediment - A low-level MVCC file format for storing blobs.
nanodb-specification - Nano ledger database format specification and Python sample