Developers: Understanding Aerospike Transactions
This blog post discusses how to implement transactional semantics in an Aerospike application, focusing on handling common read-write transactions and resolving "in-doubt" transactions due to partition changes from network or node failures. It explains that while all single record operations have transactional guarantees in Aerospike, transactions do not span multiple record boundaries. The post provides guidance on using the Read-Modify-Write (or Check-and-Set) pattern and handling in-doubt transactions by maintaining a list of transaction IDs within the affected record. It also covers choosing read consistency levels and managing data that requires consistency across all replicas in a distributed cluster.
Company
Aerospike
Date published
Jan. 15, 2020
Author(s)
Neel Phadnis
Word count
2358
Language
English
Hacker News points
None found.