Multiple Buckets Vs Single Bucket


#1

I am trying to build an ecommerce application and I have the following type of documents

  1. Products
  2. Customers
  3. Orders

My question is - Shall I use separate bucket for each different type of document or just use a single bucket ?
I thought to use different bucket just to segregate the data but, will there be any impact on performance of CB or my application due to this. What is the best production practice ?

Thanks
-Harish


#2

Best production practice should be minimum number of buckets. And you can use type a field in the documents to logically separate them. Physically that will be one bucket only.

But then what load do you see, what is the use case that also need to be looked upon.