Skip to main content

Cross-Datacenter Replication (XDCR)

  • Chapter
Book cover Pro Couchbase Server

Abstract

As you’ve seen throughout this book, Couchbase Server can replicate bucket data internally. This allows Couchbase to prevent data loss in the event of node failure. However, there are several cases in which you might like to replicate your data to another cluster. For example, you might have to provide your application with cluster-level failover, otherwise known as a hot backup. Another reason for cluster-level replication is often found in applications that are distributed across data centers in different geographic regions. Or perhaps you want to provide separate environments for development, QA, and production but keep the data synchronized between all three. For such applications, it makes sense to replicate your data between clusters, providing local replicas of your data. Cross-datacenter replication (XDCR) is a bucket-level, cluster-to-cluster replication. You can use XDCR to synchronize data in a bucket between different clusters.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 David Ostrovsky, Mohammed Haji, and Yaniv Rodenski

About this chapter

Cite this chapter

Ostrovsky, D., Haji, M., Rodenski, Y. (2015). Cross-Datacenter Replication (XDCR). In: Pro Couchbase Server. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1185-4_13

Download citation

Publish with us

Policies and ethics