ACID Support in Aerospike

ACID Support in Aerospike

June 13, 2014, Aerospike WHITE PAPER.


The CAP Theorem postulates that only two of the three properties of consistency, availability, and partition tolerance can be guaranteed in a distributed system at a specific time. Since availability is paramount in most deployments, the system can either provide consistency or partition tolerance. Note, however, that these three properties are more continuous rather than binary. Aerospike is by and large an AP system that provides high consistency by using the following techniques:

  • Trade off availability and consistency at a finer granularity in each subsystem
  • Restrict communication latencies between nodes to be sub-millisecond
  • Leverage the high vertical scale of Aerospike (1 million TPS and multiple terabyte capacity per node) to ensure that cluster sizes stay small (between 1 and
    100 nodes)
  • Virtually eliminate partition formation as proven by years of deployments in data center and cloud environments
  • Ensure extremely high consistency and availability during node failures and rolling upgrades (in the absence of partitions that are rare anyway)
  • Provide automatic conflict resolution to ensure newer data overrides older data during cluster formationMore details of how Aerospike provides ACID consistency in the presence of node failures are described below.


You may also like...