sled
mini-redis
Our great sponsors
- Onboard AI - Learn any GitHub repo in 59 seconds
- SonarQube - Static code analysis for 29 languages.
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Revelo Payroll - Free Global Payroll designed for tech teams
sled | mini-redis | |
---|---|---|
35 | 13 | |
7,293 | 2,902 | |
- | 2.8% | |
0.0 | 0.0 | |
7 days ago | 21 days 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
-
RFC: redb (embedded key-value store) nearing version 1.0
How do you compare this to sled? https://github.com/spacejam/sled
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.
- Embedded SQL database
mini-redis
-
Beautiful rusty code
One project I found extremely easy to read and understand was mini-redis. Anything similar to that?
-
Ask HN: What are some good rust code to read to learn the language?
For learning async Rust, mini-redis repo is hard to surpass: https://github.com/tokio-rs/mini-redis
The code is simple enough for beginners to follow, but also complex enough to demonstrate Rust async in the wild. And best of all, the code is heavily commented!
You can follow the official Tokio tutorial to implement mini-redis incrementally: https://tokio.rs/tokio/tutorial/setup
-
Rust projects to learn from?
for backend async service: https://github.com/tokio-rs/mini-redis
-
Help me to start
Have a look at https://github.com/tokio-rs/mini-redis, written as an example of a modern rust application.
-
Intermediate projects to look how better Rustaceans code
I sure learned a ton from looking at the mini-redis implementation from the tokio team https://github.com/tokio-rs/mini-redis -- especially when you want to work with tokio! I think it's remarkably well structured and documented.
-
Distributed C++ builds in async Rust
If https://github.com/tokio-rs/mini-redis does not help answer your question, could you elaborate a bit more on your struggle and we can see if we can fit it into our docs.
-
KeyDB CEO Interview: Getting into YC with a Fork of Redis
Tokio async runtime for Rust has a tutorial in its user guide https://tokio.rs/tokio/tutorial on writing a mini-redis (https://github.com/tokio-rs/mini-redis).
-
Is there an asynchronous Hashmap or equivalent local DB?
You may be able to take inspiration from mini-redis, which is a learning resource created by the Tokio project. Its purpose is to show off many common patterns in async Rust, and a shared hashmap is one of them.
-
Client sending packets faster than Tokio-based TCP server can read
Serializing messages is a large part of mini-redis, and its source is pretty easy to read. You can also try to implement it using tokio_util::codec, which is a library that helps with implementing this kind of stuff. It has some decent examples on the link as well.
-
Which are the best Rust repositories to read to learn the language?
This is specifically for async Rust, but the Tokio project has written mini-redis explicitly for the purpose of being a good example of how to write idiomatic async Rust code.
What are some alternatives?
RocksDB - A library that provides an embeddable, persistent key-value store for fast storage.
rust-rocksdb - rust wrapper for rocksdb
KeyDB - A Multithreaded Fork of Redis
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.
SSDB - SSDB - A fast NoSQL database, an alternative to Redis
redis-rs - Redis library for rust
Tendis - Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
heed - A fully typed LMDB wrapper with minimum overhead
sqlparser-rs - Extensible SQL Lexer and Parser for Rust
rust - Empowering everyone to build reliable and efficient software.