List of Architecture Diagrams
A quick reference to architecture diagrams in Couchbase documentation.
Throughout the Couchbase documentation-set, explanations of the architecture of Couchbase Server are supported diagrammatically. Each diagram is co-located with its textual description. This page provides a quick-reference, whereby each diagram can be directly accessed.
Diagrams are provided for the following topics. Click on the thumbnails or other links to access the full-size diagrams and accompanying, detailed descriptions.
Couchbase Server supports multidimensional scaling, whereby services can be distributed and resourced with the greatest flexibility, across the designated nodes of a cluster.
This is explained in Setting Up Services.
The Couchbase Data Service is the most fundamental of all Couchbase services, providing access to data in memory and on disk.
See Data Service for a description of the Data Service' architecture, and the interactions of its inner components.
The Couchbase Query Service supports the querying of data by means of the N1QL query language.
Its architecture and the query processing-sequence it supports are explained in Query Service.
The Couchbase Index Service supports the creation of primary and secondary indexes on items stored within Couchbase Server.
Components essential for the Index Service reside not only on each node to which the Index Service is assigned, but also on each node to which the Data Service is assigned, as shown by the illustration in Index Service.
The Couchbase Cluster Manager runs on all the nodes of a cluster, maintaining essential per-node processes, and coordinating cluster-wide operations.
Its architecture is explained in Cluster Manager.
This page also provides a detailed diagram for the most important component of the Cluster Manager, ns-server.
The Couchbase replication architecture keeps cluster-data highly available, by replicating data across the nodes of a cluster, using the Database Change Protocol.
This is explained in Intra-Cluster Replication.
Cross Data Center Replication (XDCR) is the process whereby data can be replicated to a remote cluster.
The topographical options for XDCR set-up are shown by the diagrams in XDCR Direction and Topology.
Server Group Awareness allows individual server-nodes to be assigned to specific groups, within a Couchbase Cluster. This allows active vBuckets to be maintained on a different group from that of their corresponding replica vBuckets; so that if a group goes offline, bucket-data remains available on another group.
Possible group layouts, and the effects of failover, are illustrated diagrammatically in Server Group Awareness.
A data-item stored by Couchbase Server has multiple inner components, each of which has a fixed size limit.
Components and their sizes are described in Data Size Limits.
The Couchbase Data Model is based in using JSON documents to store data items.
The Relational and Json data models have fundamental differences, explained here graphically.
Couchbase buckets, which are used to group data-items logically, are mapped to underlying shards on disk, known as vBuckets.
This is explained in Understanding vBuckets.
Compression is used by Couchbase Server to maximize resources and heighten performance.
The communication-paths that benefit are listed and explained in Where Compression is Used.
When Couchbase Server receives new data from a client, it saves to disk, and also replicates across nodes.
A sequence of diagrams is provided to show the memory and storage architecture whereby Couchbase Server handles Saving New Items.
Couchbase Server monitors the memory used by buckets with respect to fixed memory quotas. If watermarks are exceeded, automated management action is taken, to ensure that the data items most needed are retained in memory, and those less needed removed.
This is explained in detail, and the relations of memory quotas represented graphically, in Ejection.