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

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

#189 in WebAssembly

Download history 4/week @ 2024-06-15 7/week @ 2024-06-22 22/week @ 2024-06-29 25/week @ 2024-07-06 4/week @ 2024-07-13 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 10/week @ 2024-09-28

71 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
~198K SLoC