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

Download the Altoros NoSQL Performance Benchmark 2018. Compare top NoSQL solutions – Couchbase Server v5.5, MongoDB v3.6, and DataStax Enterprise v6 (Cassandra).

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.

Download the whitepaper, Moving From Relational to NoSQL: How to Get Started. We’ll take you step by step through your first NoSQL project.

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