u-database
raft
u-database | raft | |
---|---|---|
2 | 1 | |
- | 2,326 | |
- | - | |
- | 10.0 | |
- | almost 9 years ago | |
Go | ||
- | 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.
u-database
- uDatabase is an ultra lightweight Unix key-value store implementation
-
A Database for 2022
(Ignoring the fact this may be an April fools joke.)
> We’re going to put everything in a single file on disk again.
For most small scale projects I'm just reading and writing lines to a file on disk. Sure, I could over-engineer some database, or I could get a minimal viable project off of the ground and worry about scaling later. Most projects run into issues long before scalability.
I found myself recently wanting a lightweight key-value store for random structures. For this purpose, I created a toy single-file key-value store [1] in less than 256 lines of C. It's not quite ready for prime time, but it's incredibly easy to use.
[1] https://gitlab.com/danbarry16/u-database
raft
What are some alternatives?
bolt
rclone - "rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
etcd - Distributed reliable key-value store for the most critical data of a distributed system
litestream - Streaming replication for SQLite.
sshuttle - Transparent proxy server that works as a poor man's VPN. Forwards over ssh. Doesn't require admin. Works with Linux and MacOS. Supports DNS tunneling.