Hacker News new | ask | show | jobs
by dev_l1x_be 411 days ago
Is there a way to use this as a simple key value store without sql?
2 comments

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)

These days I've been using fjall, which has the benefit of being actively worked on: https://github.com/fjall-rs/fjall
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.