log_kv

A hashmap backed by a log of inserts. The log is read at initialisation to rebuild the hashmap


Keywords
database, key-value, kv, disk, hashmap
License
MIT

Documentation

log_kv

Build Status crates.io

A LogKv backs a standard Rust HashMap with an log of inserts. The log is rebuilt on initialisation by iterating over it. The log is serialised using serde.

This makes for a cheap and cheerful persistent key-value store. It is similar in principal to a bitcask albeit without the merging and hint files.

Usage

See the examples in the doctests of src/lib.rs.