Crates.io | log_kv |
lib.rs | log_kv |
version | 0.1.0 |
source | src |
created_at | 2017-01-24 21:00:29.154817 |
updated_at | 2017-01-24 21:00:29.154817 |
description | A hashmap backed by a log of inserts. The log is read at initialisation to rebuild the hashmap |
homepage | |
repository | http://github.com/sjmelia/logkv |
max_upload_size | |
id | 8214 |
size | 7,232 |
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.
See the examples in the doctests of src/lib.rs
.