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
157 downloads per month
30KB
667 lines
pile
- a simple and fast append-only data store
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