/plushcap/analysis/aerospike/aerospike-resolving-uncertain-transactions-in-aerospike

Resolving Uncertain Transactions in Aerospike

What's this blog post about?

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

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.