sled-overlay

Crates.iosled-overlay
lib.rssled-overlay
version0.1.4
sourcesrc
created_at2023-03-10 14:52:32.608948
updated_at2024-10-15 14:33:59.007617
descriptionOverlay mechanism for sled
homepage
repositoryhttps://github.com/parazyd/sled-overlay
max_upload_size
id806491
size223,647
(aggstam)

documentation

README

sled-overlay

This Rust library serves as a minimal overlay mechanism for the sled embedded database.

This mechanism enables us to simulate changes in a sled database/tree so that keys and values can be dynamically mutated, while avoiding having to change the underlying database. With this, we can perform changes to the sled trees and access the latest changes in-memory, and then only when we're satisfied with the results, we can actually atomically write it into the actual database.

This functionality can also serve as a rollback-like mechanism for sled.

Usage examples are offered in the repository as test units, and docs can be found on docs.rs/sled-overlay.

License

GNU AGPLv3.

Commit count: 55

cargo fmt