Distributing a bucket over multiple servers, and creating a view on it.
I'm wondering whether it's possible to distribute a bucket over multiple servers, and in case it's possible would this affect the way the view on that bucket is created and queried ?
As you probably know already Couchbase is a distributed database, this means that it has been designed to distribute "everything" on multiple nodes.
So each time you add a node to your cluster and rebalance the data, all the documents of your bucket(s) are evenly distributed, and the views (index) are distributed, since each server is indexing the document stored on this node.
You have nothing to do, and your application, using the client SDK will automatically be updated with the new topology.
Some interesting content related to your questions:
- Couchbase White Paper Architecture