#optimistic #transaction #ssi #mvcc #database

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

#315 in Database implementations

Download history 123/week @ 2024-03-11 1/week @ 2024-03-18 14/week @ 2024-04-01 523/week @ 2024-04-22 32/week @ 2024-04-29

556 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.6–8.5MB
~64K SLoC