surrealkv

Crates.iosurrealkv
lib.rssurrealkv
version0.5.0
sourcesrc
created_at2024-02-08 13:00:15.865719
updated_at2024-10-29 10:42:42.250959
descriptionA low-level, versioned, embedded, ACID-compliant, key-value database for Rust
homepagehttps://github.com/surrealdb/surrealkv
repositoryhttps://github.com/surrealdb/surrealkv
max_upload_size
id1132066
size481,095
Tobie Morgan Hitchcock (tobiemh)

documentation

https://docs.rs/surrealkv/

README

surrealkv

surrealkv is a versioned, low-level, persistent, embedded key-value database implemented in Rust. This ACID-compliant database offers the following features:

  • Transaction Support: SurrealKV supports rich transactions, allowing multiple items to be inserted, updated, or deleted simultaneously. These transactions are applied atomically, ensuring atomicity and consistency in line with ACID principles. This makes updates invisible until they are committed.

  • Isolation: SurrealKV provides two levels of isolation - Snapshot Isolation and Serializable Snapshot Isolation - to prevent concurrent transactions from interfering with each other.

  • Durability: SurrealKV ensures durability by persisting data on disk, protecting against data loss in the event of a system failure.

  • Multi-Version Concurrency Control (MVCC): SurrealKV employs immutable versioned adaptive radix tries via vart. This allows for any number of concurrent readers and writers to operate without blocking each other.

For more information on the underlying immutable versioned adaptive radix tries used, visit vart.

License

Features

  • In-memory Index
  • Embeddable
  • ACID Semantics
  • Transaction Support:
  • Built-in Item Versioning API
  • Multi-Version Concurrency Control (MVCC) support
  • Multiple Concurrent Readers and Writers
  • Persistence through an append-only File
  • Compaction
Commit count: 73

cargo fmt