sled
heed
Our great sponsors
sled | heed | |
---|---|---|
37 | 17 | |
7,758 | 433 | |
- | 5.5% | |
1.8 | 9.0 | |
12 days ago | about 2 months ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
sled
-
SableDb ā a key/value store that uses RocksDB and Redis API (written in Rust)
a few times, seems interesting. The author's also built a lot of other cool concurrency primitives for Rust as well.
[0] https://github.com/spacejam/sled
-
Is Something Bugging You?
- Dropbox [3] uses a similar approach but they talk about it a bit more abstractly.
Sans-IO is more documented in Python [4], but str0m [5] and quinn-proto [6] are the best examples in Rust Iām aware of. Note that sans-IO is orthogonal to deterministic test frameworks, but it composes well with them.
With the disclaimer that my opinions are mine and mine alone, and donāt reflect the company I work at āā I do work at a rust shop that has utilized these techniques on some projects.
TigerBeetle is an amazing example and Iāve looked at it before! They are really the best example of this approach outside of FoundationDB I think.
[0]: https://risingwave.com/blog/deterministic-simulation-a-new-e...
[1]: https://risingwave.com/blog/applying-deterministic-simulatio...
[2]: https://dropbox.tech/infrastructure/-testing-our-new-sync-en...
[3]: https://github.com/spacejam/sled
[4]: https://fractalideas.com/blog/sans-io-when-rubber-meets-road...
[5]: https://github.com/algesten/str0m
[6]: https://docs.rs/quinn-proto/0.10.6/quinn_proto/struct.Connec...
-
RFC: redb (embedded key-value store) nearing version 1.0
Sled uses bw-tree actually https://github.com/spacejam/sled/wiki/sled-architectural-outlook
-
Production grade databases in Rust
There is a valid argument to be made for threads over async in a large percentage of use cases where async is considered the default. If this is what you are referring to however, I don't think they ever referred to async as completely useless: https://github.com/spacejam/sled/issues/1123.
-
Best local database that works on all platforms including web?
Have you looked into other pure-Rust databases as well, such as sled or GlueSQL which has an SQL interface on top of sled? I wonder how those would compare to Persy.
-
Are there any embedded databases that have multiple-process support?
I'm not sure what you need. Are these of any use? https://github.com/meilisearch/heed https://github.com/spacejam/sled
- Some key-value storage engines in Rust
-
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.
There is also Sled but as I understand it that is being reworked to use the author's new DB core Marble
-
GreptimeDB: a new open source database designed for large-scale time-series data storage and processing, written in rust
There are some databases like sled/FlashDB designed to be embedded to other applications even bare metal microcontrollers. But I do doubt the potential bussiness value of a pure embedded database.
-
Ask HN: Serverlessā key value store with transactions?
https://github.com/spacejam/sled
To add transaction support, you probably need a good understanding of how the memtable works in Log Structured Merge trees:
heed
-
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?
RocksDB - A library that provides an embeddable, persistent key-value store for fast storage.
KeyDB - A Multithreaded Fork of Redis
rust-rocksdb - rust wrapper for rocksdb
lmdb-rs - Rust bindings for LMDB
redis-rs - Redis library for rust
rkv - A simple, humane, typed key-value storage solution.
sqlx - š§° The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
milli - Search engine library for Meilisearch ā”ļø
mini-redis - Incomplete Redis client and server implementation using Tokio - for learning purposes only
nanodb-specification - Nano ledger database format specification and Python sample
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
redb - An embedded key-value database in pure Rust