#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

#1383 in Database interfaces

Download history 103/week @ 2024-03-12 6/week @ 2024-03-19 1/week @ 2024-03-26 17/week @ 2024-04-02

127 downloads per month

Apache-2.0/MIT

175KB
4K 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

~5–13MB
~119K SLoC