willow-store-simple-sled

Crates.iowillow-store-simple-sled
lib.rswillow-store-simple-sled
version0.1.0
created_at2025-04-09 11:33:17.179325+00
updated_at2025-04-09 11:33:17.179325+00
descriptionSimple persistent storage for Willow data
homepage
repository
max_upload_size
id1626575
size63,314
Sam Gwilym (sgwilym)

documentation

README

willow-store-simple-sled

Simple persistent storage for Willow data.

  • Implements [willow_data_model::Store].
  • Simple, hence it has a straightforward implementation without the use of fancy data structures.
  • Uses sled under the hood.
let db = sled::open("my_db").unwrap();
let namespace = willow_25::NamespaceId25::new_communal();

let store = StoreSimpleSled::new(namespace, db).unwrap();

Performance considerations

  • Read and write performance should be adequate.
  • Loads entire payloads into memory all at once.
Commit count: 0

cargo fmt