A few weeks ago I had written 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 above, 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.

Posted by Nic Raboy, Developer Advocate, Couchbase

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.

Leave a reply