9 releases (5 breaking)

0.6.1 Mar 9, 2021
0.6.0 Sep 9, 2020
0.5.0 Aug 27, 2020
0.4.0 Aug 19, 2020
0.1.1 Jul 22, 2020

#307 in Database interfaces

Download history 267/week @ 2021-07-04 323/week @ 2021-07-11 183/week @ 2021-07-18 162/week @ 2021-07-25 369/week @ 2021-08-01 238/week @ 2021-08-08 269/week @ 2021-08-15 224/week @ 2021-08-22 329/week @ 2021-08-29 331/week @ 2021-09-05 252/week @ 2021-09-12 332/week @ 2021-09-19 139/week @ 2021-09-26 296/week @ 2021-10-03 312/week @ 2021-10-10 214/week @ 2021-10-17

1,019 downloads per month

Custom license

29KB
667 lines

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.


lib.rs:

pile - a simple and fast append-only data store

Design goals

  • Efficient adding of bug 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::new("./pile").unwrap();
let value = b"some data";
db.put(&value).unwrap();

Dependencies

~0–4MB
~52K SLoC