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

accesing buckets issue

2 replies [Last post]
  • Login or register to post comments
Wed, 01/04/2012 - 06:28
nik
Offline
Joined: 12/29/2011
Groups: None

I have 1 issue..

I have 2 server.. server-1 and server-2 in a cluster.

I am preparing a membase bucket name Test in server-1.

My question is

1)Why Test bucket is also visible on server-2
2) why if i put 1 object on server-1 Test bucket and get that from server-2 Test bucket I can also able to get it ?

Please this is very quick.

Thanks in advance.

Top
  • Login or register to post comments
Mon, 01/09/2012 - 11:24
mikew
Offline
Joined: 03/14/2011
Groups:

1) A bucket is just a database and in Membase/Couchbase we distribute that database across your entire cluster. This is what allows our database to scale up and down.

2) Since the database exists across your entire cluster the hashing algorithm will determine which server you object gets put on. We also have a proxy server that sits on port 11211, which is probably the port you are talking to. The proxy knows about all of the nodes in your cluster so even if you ask the wrong server for your object the proxy server will direct it to the correct one. So whether you ask server 1 or server 2 for the object they both know how to find it even if one of them doesn't contain the value.

Top
  • Login or register to post comments
Mon, 01/09/2012 - 22:25
nik
Offline
Joined: 12/29/2011
Groups: None

Thanks a lot Mike It really helped me .

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