#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

#206 in WebAssembly

Download history 43/week @ 2024-07-20 75/week @ 2024-07-27 32/week @ 2024-08-03 4/week @ 2024-08-10 11/week @ 2024-08-17 20/week @ 2024-08-24 22/week @ 2024-08-31 8/week @ 2024-09-07 15/week @ 2024-09-14 32/week @ 2024-09-21 13/week @ 2024-09-28 7/week @ 2024-10-05 52/week @ 2024-10-12 19/week @ 2024-10-19 9/week @ 2024-10-26 18/week @ 2024-11-02

99 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
~193K SLoC