boringdb

Crates.ioboringdb
lib.rsboringdb
version0.4.1
sourcesrc
created_at2021-05-27 21:18:48.240509
updated_at2022-05-12 22:09:54.561147
descriptionRobust, reasonably high-performance key-value database built on SQLite
homepage
repositoryhttps://github.com/themeliolabs/boringdb
max_upload_size
id402871
size17,396
Eric Tung (nullchinchilla)

documentation

README

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<u8>).

Examples

We have various usage examples here.

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.
Commit count: 78

cargo fmt