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

#2735 in Database interfaces

Download history 76/week @ 2023-11-27 41/week @ 2023-12-04 26/week @ 2023-12-11 11/week @ 2023-12-18 1/week @ 2023-12-25 44/week @ 2024-01-01 44/week @ 2024-01-08 84/week @ 2024-01-15 251/week @ 2024-01-22 163/week @ 2024-01-29 145/week @ 2024-02-05 172/week @ 2024-02-12 222/week @ 2024-02-19 42/week @ 2024-02-26 14/week @ 2024-03-04 9/week @ 2024-03-11

291 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–13MB
~135K SLoC