Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Distance between two nodes

1 reply [Last post]
  • Login or register to post comments
Fri, 03/01/2013 - 00:49
jaigupta
Offline
Joined: 11/11/2012
Groups: None

We have two datacenters close to each other and few are apart. There are few nodes that are in same datacenter but not in same room, these nodes are also not in same vlan.

What distance (in ms) is good enough for nodes to be in same cluster?
Or
What is the distance (in ms) when using XDCR is essential?

Top
  • Login or register to post comments
Thu, 03/07/2013 - 01:35
dipti
Offline
Joined: 11/02/2011
Groups:

Within a cluster , intra-cluster replication happens in memory, if network latencies are higher there is a chance replicas will start falling behind. This depends obviously on many factors, your write rate , is your workload heavy read or heavy write or mixed. for a write heavy, I'd advice a much better network latency.

The cluster managers also communicate with each other. The larger the latencies, you may see timeout issues during rebalance or other topology based operations. there are customers who literally have 7-8 nodes in one data center and 7-8 nodes in another completely different data center but have a 20 GB inter connect. And the cluster behaves as 1 seamlessly. So don't have a distance in ms answer for you, it will depend on your use case and what your SLA is.

For XDCR, it can be very small ( some customers have a fiber - 40 GB inter connect between DCs) or large ( 1GB ). the protocol handles network failures etc quite well.
We see extremely high latencies on Amazon for example 100-200ms and with lower bandwidths , so these may not meet your SLAs.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker