data-pile

Crates.iodata-pile
lib.rsdata-pile
version0.6.1
sourcesrc
created_at2020-07-22 08:10:34.535351
updated_at2021-03-09 16:40:30.108458
descriptionA simple and fast append-only data store
homepagehttps://github.com/eugene-babichenko/data-pile
repositoryhttps://github.com/eugene-babichenko/data-pile
max_upload_size
id267966
size36,425
Yevhenii Babichenko (eugene-babichenko)

documentation

https://docs.rs/data-pile

README

pile - a simple and fast append-only data store

Crates.io codecov

Design goals

  • Efficient adding of big chunks of data.
  • A user should be able to copy the storage data (for example, over the network) while still being able to use the database for both reads and writes.
  • The storage should have a minimal dependency footprint.

Usage guide

Example

use data_pile::Database;
let db = Database::file("./pile").unwrap();
let value = b"some data";
db.put(&value).unwrap();

Notes

Values are accessible only by their sequential numbers. You will need an external index if you want any other kind of keys.

Commit count: 78

cargo fmt