A newer version of this documentation is available.

View Latest

Multidimensional scaling

Couchbase Server 4.0 and greater supports multidimensional scaling (MDS). MDS enables users to turn on or off specific services on each Couchbase Server node so that the node in effect becomes specialized to handle a specific workload: document storage (data service), global indexes (index service) or N1QL query processing (query service).

Multidimensional scaling has four main advantages:

  • Each service can be independently scaled to suit an application’s evolution, whether that entails a growing data set, expanding indexing requirements, or increased query processing needs.

  • The index and query services work most quickly and efficiently when a single or small number of machines contain the entire index.

  • You can choose to customize machines to their workloads. For example, by adding more CPUs to a node running queries.

  • Provides workload isolation so that query workloads do not interfere with indexing or data on the same node.

Multidimensional scaling allows specific services to both scale up and scale out without sacrificing ease of administration because they are all managed from within the same cluster and configured at run time, and the software installed on each machine is identical.

multidimensional scaling
Figure 1. Multidimensional scaling optionally disables services to dedicate nodes to certain workloads