#isolation #snapshot #transaction #acid #concurrency #mvcc #serializable

async-txn

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

4 releases

0.1.3 Apr 27, 2024
0.1.2 Apr 25, 2024
0.1.1 Apr 22, 2024
0.1.0 Apr 22, 2024

#228 in WebAssembly

Download history 3/week @ 2024-08-12 13/week @ 2024-08-19 23/week @ 2024-08-26 19/week @ 2024-09-02 5/week @ 2024-09-09 16/week @ 2024-09-16 34/week @ 2024-09-23 10/week @ 2024-09-30 9/week @ 2024-10-07 53/week @ 2024-10-14 17/week @ 2024-10-21 8/week @ 2024-10-28 17/week @ 2024-11-04 4/week @ 2024-11-11 25/week @ 2024-11-18 9/week @ 2024-11-25

55 downloads per month
Used in async-skipdb

MIT/Apache

180KB
4.5K SLoC

Async Txn

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

For sync version, please see txn

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 txn

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

Installation

[dependencies]
async-txn = "0.1"

License

async-txn 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

~3–15MB
~192K SLoC