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

#18 in #append-only

Download history 22/week @ 2024-07-22 6/week @ 2024-07-29 30/week @ 2024-08-05 2/week @ 2024-08-12 4/week @ 2024-08-19 3/week @ 2024-08-26 23/week @ 2024-09-09 24/week @ 2024-09-16 34/week @ 2024-09-23 80/week @ 2024-09-30 13/week @ 2024-10-07 48/week @ 2024-10-14 30/week @ 2024-10-21 1/week @ 2024-10-28 75/week @ 2024-11-04

157 downloads per month

Custom license

30KB
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.1–12MB
~140K SLoC