Re:ToyDB rewritten: a distributed SQL database in Rust, for ...
by dev_l1x_be on Monday May 12, 2025 @04:37AM
(#43960848)
Is there a way to use this as a simple key value store without sql?
[ Parent
| on HN ]
Re:ToyDB rewritten: a distributed SQL database in Rust, for ...
by nextaccountic on Monday May 12, 2025 @04:51AM
(#43960943)
Maybe consider sled? https://github.com/spacejam/sled
It's been abandoned for some years, the author was working on a new engine for it and in the last 5 days they started working again on sled proper. However, it's pretty good the way it is (the 0.34.7 release from 2021 https://crates.io/crates/sled), despite the beta warnings
More info here https://dbdb.io/db/sled
(Note, non affiliated to the author, just liked the project)
Re:ToyDB rewritten: a distributed SQL database in Rust, for ...
by cmrdporcupine on Monday May 12, 2025 @07:29AM
(#43961831)
These days I've been using fjall, which has the benefit of being actively worked on: https://github.com/fjall-rs/fjall
Re:ToyDB rewritten: a distributed SQL database in Rust, for ...
by erikgrinaker on Monday May 12, 2025 @04:46AM
(#43960914)
It already uses a key/value store for on-disk storage, but you’ll have to write the server API and client yourself, along with a Raft state machine layer. It’s not a big lift though, and could make a fun weekend project.