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

RavenDB vs MongoDB: Which is Better? This White Paper compares the two leading NoSQL Document Databases on 9 features to find out which is the best solution for your next project.  

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.

Do you pay to use your database? What if your database paid you? Learn more with RavenDB.

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 }}