Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Buckets and rebalancing

1 reply [Last post]
  • Login or register to post comments
Thu, 09/16/2010 - 00:34
symbolic
Offline
Joined: 09/16/2010
Groups: None

Hello,
Having read the membase documentation I still have some doubts about the concepts of buckets, vbuckets and rebalancing.
1) Is a bucket the same thing as a vbucket, or does the bucket stand for an entire key space, subdivided into vbuckets?
2) Assuming the latter, how exactly does cloning and rebalancing reduce the load on a particular node? Is the cloned node made the master for a subset of vbuckets?
3) If so, does a mechanism exist to identify the most accessed vbuckets and divide them evenly between the original and the cloned node during rebalance?

Thanks in advance.

Top
  • Login or register to post comments
Thu, 09/16/2010 - 09:23
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Hi there, thanks for your inquiry!

1 - Your latter assumption is correct. A bucket stands for the entire key space and that is subdivided into a number of vbuckets. It's currently hardcoded at 1024 and will likely increase in the future.
2 - During rebalancing, all the vbuckets and their replicas are spread out across all available nodes in the cluster. This allows each node to handle a subset of the keyspace and therefore distributes the load and data across the whole cluster.
3 - At the moment there is no such tool however we do have the infrastructure to support moving individual vbuckets to different nodes of the cluster. It's not exposed to the user right now, but could certainly be made so if need be. In general, we've found that the vbucket mapping combined with a good hashing algorithm leads to very even distribution of load throughout the cluster.

Hope that answers your questions, let me know if there's anything I can do to help further.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

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