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

Couchbase running entire data sets on several servers with "multi-master" replication

2 replies [Last post]
  • Login or register to post comments
Thu, 02/21/2013 - 04:03
andbraith
Offline
Joined: 02/21/2013
Groups: None

Hi,

I want to run couchbase on several servers where there is an application on each server that writes to and reads from the local couchbase instance which should contain the entire data set.

The couchbase instances should replicate async to each other so that each couchbase instance on each server is eventually consistent.

I'm trying to avoid reads/writes over the network as the application does 100s/1000s of hits per page delivery. (I know it would be better to do multi-gets and multi-sets or re-architect the application to parallelise but this isn;t an option).

Is this even possible with couchbase?

Thanks,

Andrew

Top
  • Login or register to post comments
Thu, 02/21/2013 - 06:09
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello Andrew,

When you are talking about "replication"
1)- are you talking about replication of data between nodes in the same cluster?
- in this case no issue you do not have master-slave, only master. BUT the data are distributed over all the nodes of the cluster.

2)- or are you talking about replication of data between 2 clusters?
- you can do copy all the data from one node to another using XDCR but not sure what ill be the benefits on your case.

Could you explain why you want to do that?
You should let the cluster deal with the partition of the data since with Couchbase we provide your consistent latency/perf in a cluster.

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Thu, 02/21/2013 - 07:55
andbraith
Offline
Joined: 02/21/2013
Groups: None

Hi, thanks for the reply.

I guess I'm talking about multiple nodes in the same cluster. I want to have all the data available on each node in the cluster. I run an application on the same server that each Couchbase node runs on and I only want that application to read and write locally to the server (i.e.avoid network round trips completely). The writes would then sync with other nodes in the cluster over the network so that each node would contain a full set of the data.

The key here is that I don't want the reads and writes to Couchbase to have the latency of a network round trip but instead to hit it on the same server.

Is this possible?

Andrew

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