/plushcap/analysis/aerospike/aerospike-multi-record-transactions-for-aerospike

Multi Record Transactions for Aerospike

What's this blog post about?

Aerospike is a high-performance key-value database that does not natively support multi-record transactions (MRT) at the server level due to potential slowdowns and non-linear scaling. However, MRT can be achieved in software using the capabilities offered by Aerospike. The package "multi-record-txn" supports atomic multi-record updates in Aerospike through the use of locks created with the CREATE_ONLY flag. Rollback is accomplished by restoring stored values and releasing locks, while full details can be found in the project README. Although MRT may not be as necessary in key-value databases as in relational databases, there are still use cases that demand it, such as workflow systems. The value of this API is greater when using Aerospike Enterprise and Strong Consistency, which ensures no record divergence during network partitions or process crashes.

Company
Aerospike

Date published
Nov. 17, 2020

Author(s)
Ken Tune

Word count
1179

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.