https://github.com/parazyd/sled-overlay
Overlay mechanism for sled
https://github.com/parazyd/sled-overlay
database kv overlay rust sled
Last synced: 8 months ago
JSON representation
Overlay mechanism for sled
- Host: GitHub
- URL: https://github.com/parazyd/sled-overlay
- Owner: parazyd
- License: agpl-3.0
- Created: 2023-03-10T12:22:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T18:06:06.000Z (over 1 year ago)
- Last Synced: 2024-05-21T12:54:47.055Z (over 1 year ago)
- Topics: database, kv, overlay, rust, sled
- Language: Rust
- Homepage:
- Size: 89.8 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
sled-overlay
============This Rust library serves as a minimal overlay mechanism for the
[sled](https://docs.rs/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](https://docs.rs/sled-overlay).## License
GNU AGPLv3.