Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Using XDCR to Replicate NoSQL Data Between Couchbase Docker Containers [Video]

DZone's Guide to

Using XDCR to Replicate NoSQL Data Between Couchbase Docker Containers [Video]

Cross-datacenter replication (XDCR) in Couchbase is great for disaster recovery and data locality and is incredibly simple to configure.

· Database Zone ·
Free Resource

Running out of memory? Learn how Redis Enterprise enables large dataset analysis with the highest throughput and lowest latency while reducing costs over 75%! 

A few weeks ago, I wrote an article outlining the steps for using cross-datacenter replication (XDCR) in Couchbase. This article described everything from cluster setup to replicating NoSQL documents that exist in one cluster to another cluster.

In case you're unfamiliar, XDCR is great for disaster recovery and data locality. To make things even better, it is incredibly simple to configure.

We're going to see, through a step-by-step video, how to make XDCR possible in your business.

The short and simple video can be seen below.

In the video, we use Docker containers for each of the Couchbase Server nodes. We're doing this because it is simple for demonstration purposes on a local machine. In a production environment, you can use Docker or anything else from AWS to bare metal. There are plenty of options.

For more information on using XDCR with Couchbase, check out the Couchbase Developer Portal.

Running out of memory? Never run out of memory with Redis Enterprise databaseStart your free trial today.

Topics:
xdcr ,nosql ,couchbase ,docker ,disaster recovery ,database ,data locality ,data replication

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}