Aerospike offers two active-active deployment models for its database: multi-site clustering and cross-datacenter replication (XDR). Multi-site clustering uses synchronous replication to deliver a global distributed transaction capability, ensuring strong consistency and availability during site failures. However, this scheme results in additional write latencies that can be anywhere from 2 to 100 milliseconds, depending on the distance between sites. In contrast, XDR provides applications with low-latency reads and writes but may compromise on consistency guarantees during site failures. The application's data access patterns must be designed carefully to ensure that concurrent write conflicts do not result in application-level inconsistencies. Both models can work regardless of whether the data is stored in a private cloud, a public cloud, or any combination of both.