#ssi #optimistic #transaction #mvcc #database

txn

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

5 releases

new 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

#308 in Database implementations

Download history 112/week @ 2024-03-09 12/week @ 2024-03-16 12/week @ 2024-03-30 2/week @ 2024-04-06 335/week @ 2024-04-20

349 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–8.5MB
~63K SLoC