#optimistic #transaction #mvcc #ssi #database #database-engine #async-version

txn

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

5 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
0.0.0 Mar 12, 2024

#573 in Asynchronous

50 downloads per month
Used in skipdb

MIT/Apache

155KB
4K SLoC

txn

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

(For async version, please see async-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 async version, please see txn)

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

Installation

[dependencies]
txn = "0.1"

License

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

~2.5–8MB
~62K SLoC