https://github.com/mel-project/boringdb
Robust, reasonably high-performance key-value database built on SQLite
https://github.com/mel-project/boringdb
database rust sql sqlite
Last synced: 4 days ago
JSON representation
Robust, reasonably high-performance key-value database built on SQLite
- Host: GitHub
- URL: https://github.com/mel-project/boringdb
- Owner: mel-project
- Created: 2021-05-26T18:38:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-12T22:10:06.000Z (over 3 years ago)
- Last Synced: 2025-12-26T20:32:03.031Z (20 days ago)
- Topics: database, rust, sql, sqlite
- Language: Rust
- Size: 53.7 KB
- Stars: 47
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BoringDB
[](https://crates.io/crates/boringdb)

A SQLite-based, single-process, key-value database.
You want boringdb if:
- You want high performance somewhat approaching that of databases like sled and RocksDB
- You don't need SQL, multiprocess support, or the other cool features of SQLite
- You want SQLite's proven reliability
## Method Of Operation
BoringDB stores key/value pairs into byte vectors (`Vec`).
## Examples
We have various usage examples [here](examples).
To run any of the examples, execute:
```
cargo run --example example_name_goes_here
```
## Cache architecture
We have a writeback cache supporting the following operations:
- Insert with batch number
- Read key with fallback closure
- Remove dirty keys as an iterator-like object that returns batches.