Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 authored Nov 30, 2023
1 parent e967634 commit 8b925ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ A K.I.S.S. implementation of log-structured merge trees (LSM-trees/LSMTs).
use lsm_tree::{Config, Tree};

let folder = "data";

// A tree is a single logical keyspace/index/... and supports a BTreeMap-like API, but all data is persisted to disk.
let tree = Config::new(folder).open()?;

tree.insert("my_key", "this is the actual value of the object")?;
Expand All @@ -32,7 +34,7 @@ This is the fastest and most feature-rich LSM-tree implementation in Rust! It fe
- Sharded journal & memtable for concurrent writes
- Journal truncation on recovery for consistency
- Atomic write batches
- Automatic background compaction & tombstone eviction
- Automatic background compaction
- Does not spawn background threads unless actually needed
- Thread-safe (internally synchronized)
- LZ4-compresses data
Expand Down

0 comments on commit 8b925ae

Please sign in to comment.