Resolving Uncertain Transactions in Aerospike
Resolving uncertain transactions in Aerospike is crucial for applications that require strong consistency. Uncertainty can arise due to various failures like client, connection, master, or network issues. To handle such uncertainties, the application must devise a way to query transaction status and implement safe retries. Tagging a write with a unique id using Aerospike's multi-operation "operate" API is recommended for resolving uncertain outcomes. Additionally, implementing "only-once" semantics can ensure exactly-once write execution. Depending on the frequency of updates, uniqueness of update, and other factors, simplifications to this solution may be possible.
Company
Aerospike
Date published
May 28, 2020
Author(s)
Neel Phadnis
Word count
1473
Language
English
Hacker News points
None found.