Aurigraph's Multi-Region Deployment enables cross-region consensus with latency-aware leader election, automatic failover, and real-time RTT matrix tracking. Validators across geographically distributed regions participate in HyperRAFT++ consensus with the leader dynamically elected based on the lowest average round-trip time — ensuring optimal throughput regardless of where nodes are deployed.
Single-Region:
All validators in one datacenter | (Single point of failure) Leader = static or round-robin | (No geographic awareness) Regional outage = full network downtime
Multi-Region:
Validators distributed across 3+ regions | (Geographic fault tolerance) Leader = lowest avg RTT wins (tie-break: validator count) | Latency matrix tracked per-region pair | 3 Consensus Modes: |- SINGLE_REGION (development / low-latency) |- MULTI_REGION (production / geo-distributed) |- FAILOVER (disaster recovery / automatic) | Automatic failover: source -> OFFLINE, target -> ACTIVE
+----------------------------------------------------------+ | Multi-Region Consensus Topology | +----------------------------------------------------------+ | | | Region: EU-WEST Region: US-EAST | | +--------------------+ +--------------------+ | | | Validator-EU-1 (L) |<---->| Validator-US-1 | | | | Validator-EU-2 | RTT | Validator-US-2 | | | | Validator-EU-3 | 85ms | Validator-US-3 | | | | avgRTT: 12ms | | avgRTT: 18ms | | | +--------------------+ +--------------------+ | | ^ ^ | | | RTT 140ms | RTT 95ms | | v v | | +--------------------+ | | | Region: AP-SOUTH | | | | Validator-AP-1 | | | | Validator-AP-2 | | | | avgRTT: 22ms | | | +--------------------+ | | | | Leader Election Algorithm: | | 1. Compute avgRTT per region (all validator pairs) | | 2. Region with lowest avgRTT = leader region | | 3. Tie-break: region with most validators wins | | 4. Leader re-evaluated every election cycle | +----------------------------------------------------------+
Region Lifecycle: PROVISIONED --> ACTIVE --> DEGRADED --> OFFLINE | | | | +-- auto --->+ | | +<--------- manual restore -----------+ Add Region: POST /api/v11/regions |- regionId: "ap-south-1" |- validators: ["V-AP-1", "V-AP-2"] |- status: PROVISIONED -> ACTIVE (after health check) Remove Region: DELETE /api/v11/regions/{regionId} |- Drain validators (graceful consensus exit) |- Reassign leader if affected |- Archive latency history
SINGLE_REGION | |- Add second region -> MULTI_REGION | MULTI_REGION | |- Primary region RTT > threshold -> FAILOVER triggered |- All but one region offline -> SINGLE_REGION (degraded) | FAILOVER | |- Source region: status -> OFFLINE |- Target region: status -> ACTIVE, assumes leadership |- Latency matrix recalculated (exclude offline region) |- When source recovers: re-join as follower, re-evaluate leader
The system maintains a real-time RTT matrix between all region pairs:
Each cell tracks:
Normal Operation: EU-WEST (Leader, avgRTT: 12ms) US-EAST (Follower, avgRTT: 18ms) AP-SOUTH (Follower, avgRTT: 22ms) Failure Detected (EU-WEST heartbeat timeout > 3 cycles): 1. EU-WEST status -> OFFLINE 2. Exclude EU-WEST from latency matrix 3. Recalculate: US-EAST avgRTT=18ms < AP-SOUTH avgRTT=22ms 4. US-EAST promoted to Leader 5. DMRV event: REGION_FAILOVER_EXECUTED 6. Consensus continues with 2/3 regions (quorum maintained) Recovery (EU-WEST comes back online): 1. EU-WEST re-joins as Follower 2. Latency matrix re-populated (3-5 heartbeat cycles) 3. Leader re-evaluation at next election cycle 4. If EU-WEST avgRTT lowest again -> re-elected as Leader
Every region topology change emits a DMRV attestation:
REGION_PROVISIONED
REGION_ACTIVATED
LEADER_ELECTED
REGION_FAILOVER_EXECUTED
REGION_RECOVERED
REGION_DECOMMISSIONED
Region Management (/api/v11/regions):
/api/v11/regions
# List all regions with status and latency curl https://dlt.aurigraph.io/api/v11/regions \ -H "Authorization: Bearer {token}" # Get region details (validators, RTT, mode) curl https://dlt.aurigraph.io/api/v11/regions/{regionId} # Add a new region curl -X POST https://dlt.aurigraph.io/api/v11/regions \ -d '{"regionId": "ap-south-1", "displayName": "Asia Pacific South", "validators": ["V-AP-1", "V-AP-2"]}' # Remove a region (graceful drain) curl -X DELETE https://dlt.aurigraph.io/api/v11/regions/{regionId} # Get latency matrix (all region pairs) curl https://dlt.aurigraph.io/api/v11/regions/latency-matrix # Trigger manual failover curl -X POST https://dlt.aurigraph.io/api/v11/regions/{regionId}/failover \ -d '{"targetRegionId": "us-east-1", "reason": "planned-maintenance"}' # Get current consensus mode curl https://dlt.aurigraph.io/api/v11/regions/consensus-mode # Update consensus mode curl -X PUT https://dlt.aurigraph.io/api/v11/regions/consensus-mode \ -d '{"mode": "MULTI_REGION"}'
Explore: About · Products · Features · Whitepapers · Sustainability · Tokenized carbon credits · Real-world asset tokenization · SDK · Blog · Plain-text site index · Sitemap · Contact: contact@aurigraph.io