Single data group#

The single data group is the foundational PGD deployment pattern, providing high availability within a single location. Three data nodes form a Raft consensus group, with Connection Manager handling write leader routing automatically.

Nodes can be spread across multiple availability zones for added resiliency, though doing so increases write latency when using majority or all protect commit scopes.

Single data group topology

Single data group topology#

Diagram legend#

Symbols represent node types, group containers, and connection types.

Diagram legend showing node types, group containers, and connection types

Diagram legend showing node types, group containers, and connection types#

When to use this pattern#

The single data group is the standard high availability (HA) deployment within a single data center. It tolerates single node failure and provides automatic failover in seconds, making it well suited to applications that need HA within a single region and can’t afford extended downtime during major version upgrades or blocking maintenance tasks.

The advantages of this pattern include the following:

  • Simplest topology to deploy, operate, and troubleshoot.

  • Raft majority always available, surviving one node failure.

  • Lowest write latency when deployed in a single data center (DC).

  • Survives single AZ failure when deployed across multiple availability zones.

  • Automatic failover in seconds with no operator intervention.

  • Low cost at three nodes minimum.

There are some limitations to keep in mind:

  • No disaster recovery. A DC-level failure takes down the entire cluster.

  • When deployed in a single DC, all nodes share the same failure domain.

  • Not suitable for regulatory requirements mandating geographic separation.

  • When used with two data nodes and a witness, durability options are limited.