Skip to content
Webinar - May 13th: How Criteo powers real-time decisions with a reduced footprintRegister now

Configure namespace durability

This page describes Aerospike’s intracluster replication and cross cluster replication to protect data in case of server failure.

Intracluster replication

In Aerospike, the replication-factor configuration controls the number of copies of each record that reside in the cluster. Most servers have a replication-factor of 2, which ensures all data in the cluster can survive a single node failure. Replication does increase the total cost of a cluster. With a replication factor 2, the cluster requires twice the storage capacity of a cluster with a replication factor of 1. Replication also suffers a performance penalty, primarily due to the extra network latency incurred by synchronous replication.

Configuring the replication factor is simple. The following example shows a replication factor of 2:

namespace NAMESPACE-NAME {
...
replication-factor 2
...
}

Cross-Datacenter Replication (XDR)

Aerospike Enterprise Edition includes the Cross-Datacenter Replication (XDR) feature to replicate data among clusters. For more information on XDR configuration, see the configuration documentation.

Where to next?

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?