#transaction #serializable #isolation #snapshot #wasi #manager

tokio-mwmr

A WASM/WASI friendly, multi-writer-multi-reader MVCC, ACID, Serializable Snapshot Isolation transaction manager for database development based on tokio

1 unstable release

0.1.0 Mar 14, 2024

#2229 in Database interfaces

Apache-2.0/MIT

110KB
2.5K SLoC

Tokio-MwMr

A generic optimistic transaction manger, which is ACID, concurrent with SSI (Serializable Snapshot Isolation).

For sync version, please see mwmr

For other async runtime, please see async-mwmr

github LoC Build codecov

docs.rs crates.io crates.io license

English | 简体中文

Introduction

A generic optimistic transaction manger, which is ACID, concurrent with SSI (Serializable Snapshot Isolation).

For sync version, please see mwmr

For other async runtime, please see async-mwmr

This crate is inspired by and port from badger's transaction implementation.

Installation

[dependencies]
tokio-mwmr = "0.1"

License

mwmr is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2024 Al Liu.

Copyright (c) 2017 Dgraph's developers

Dependencies

~4–10MB
~105K SLoC