10 Max. Buckets per Cluster so... Cluster per Application?




I’ve been discussing with my team a possible migration of some separate applications we do have currently in RDBMS.

Nowadays, we do separate mainly our applications by separate databases - however some applications do require consulting other app’ databases. However, the concept in Couchbase is very different in regarding Clusters and Data Buckets.

From what I’ve read, the Max. Buckets per Cluster is set at 10, so we would not really get some entire applications into one Cluster, is that right? Clusters are meant to separate applications. Is that correct? Every application would have its own server basically?

If what I’ve stated above applies, so how does the communication between clusters work (similarly to database reads/writes from another applications in RDBMS connections)?



Hi @ivoecpereira,

One specific difference from RDBMS. It is not possible to perform a single N1QL query (e.g. a JOIN) across clusters. So if you have data in multiple clusters, you would need to issue separate queries to each cluster.



Thanks for your reply @geraldss.

That doesn’t seem like a major problem to me fortunately, as usually a Cluster would be built for each separate application, and each one could have its own REST API who would give data about itself.

Was I thinking right on separating Clusters per application?


Yes, you should be fine with a cluster per application.