Free audit

View Audit Scope
JusDBRack-Aware 3-AZ · Strong Consistency Roster · Multi-DC XDR 7.x

Aerospike high availability for multi-AZ resilience and XDR failover.

JusDB designs and validates Aerospike high availability architectures for mission-critical workloads. We engineer 3-AZ rack-aware partition placement, Strong Consistency (SC) rosters that survive zone failures without split-brain writes, active-active and active-passive Cross-Datacenter Replication (XDR), and Smart Client timeout policies verified through live failover drills.
The first 30-minute call covers your databases, current ownership, and required coverage. No production access is needed. Or request a free read-only HA & roster audit.
  • NDA before access
  • Read-only by default
  • Written scope before work starts

aerospike_ha_topology

Rack-Aware Placement

rack-id replica spread verified across zones

Engineered for AZ loss, node terminations, and regional XDR evacuation.

Intra-Region HA
3-AZ Rack-Aware
Every partition copy isolated on a separate Availability Zone rack-id
Split-Brain Protection
SC Roster Quorum
Linearizable reads and writes with zero dead_partitions on single-AZ loss
Cross-Region DR
Multi-DC XDR
Active-passive or active-active LUT bin convergence across datacenters
P1 response SLA (24/7)
15 mins
SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins

Selected clients

  • Innoviti
  • Blitz
  • Freecharge
  • Nango
  • Recochain
  • Screen Facts
  • Nexora
  • WeCredit

Availability gaps we fix

Six ways Aerospike high availability fails during real outages.

Setting replication-factor 2 or 3 in aerospike.conf is not enough if replicas land in the same zone, SC rosters are split across only two racks, or Smart Clients block on dead sockets.

CO_LOCATED_REPLICAS

Single cloud Availability Zone outage causes partition unavailability despite RF=2 or RF=3

What is usually happening
Nodes were deployed without rack-id configuration in aerospike.conf, allowing primary and replica copies of the same partition to land in the same AZ.
How we engineer resilience
Assign deterministic rack-id values per availability zone, enable rack-aware namespace policies, and trigger recluster so every partition's copies sit in distinct AZs.
SC_SPLIT_BRAIN_LOCKOUT

Strong Consistency namespace halts writes during a single-rack network partition

What is usually happening
A 2-rack SC deployment with equal node counts cannot form a strict majority sub-cluster when the inter-rack link drops, forcing one or both sides into unavailable_partitions.
How we engineer resilience
Architect symmetric 3-AZ rack layouts (or tie-breaker node placement) and validate SC roster behavior against single-rack isolation drills.
XDR_ACTIVE_ACTIVE_OVERWRITE

Concurrent regional updates in active-active XDR overwrite unrelated record bins

What is usually happening
XDR ships full records without bin-level Last Update Time (LUT) convergence or synchronized NTP clocks across regions.
How we engineer resilience
Enable XDR bin-policy only-changed with bin convergence, enforce chrony/NTP skew monitoring, and isolate non-convergent operations.
SMART_CLIENT_TIMEOUT_CASCADE

Application threads block for seconds when a single Aerospike node freezes or drops packets

What is usually happening
Smart Client SocketTimeout, TotalTimeout, and maxRetries are left at permissive defaults without Sequence/Replica read fallback.
How we engineer resilience
Tune ClientPolicy tend intervals, configure ReadModeAP/ReadModeSC replica sequence policies, and align socket timeouts with your p99 SLA budget.
EPHEMERAL_NVME_LOSS_ON_STOP

Cloud instance stop/start wipes local NVMe drives and forces a full partition resync

What is usually happening
Local NVMe instances (AWS i3en/i4i, GCP local SSD) lose ephemeral storage on hypervisor migration if shadow devices or rack-level RF durability are not engineered.
How we engineer resilience
Evaluate persistent shadow-device configurations versus RF=3 rack-aware ephemeral NVMe layouts with rehearsed node-replacement runbooks.
MESH_HEARTBEAT_SPLIT

Transient cross-AZ latency spike splits the cluster into two independent sub-clusters

What is usually happening
Mesh heartbeat interval (150 ms) and timeout (10) are too aggressive for cloud VPC cross-zone jitter or bursty NIC saturation.
How we engineer resilience
Tune mesh heartbeat interval, timeout, and fabric worker threads to survive cloud network micro-bursts without false node ejections.

High availability engineering scope

Six workstreams for fault-tolerant Aerospike clusters.

From intra-region rack-id placement to cross-continent XDR convergence and Game-Day chaos testing.

01

Rack-Aware Multi-AZ Topology Design

Deterministic partition replica placement across cloud Availability Zones or physical data-center racks so an entire zone can fail without losing a single partition.

  • rack-id mapping per AZ with RF=2 or RF=3 partition distribution verification
  • Smart Client rack-aware preference to eliminate cross-AZ read bandwidth charges
rack-id · Policy.ReadModeAP · preferRack
02

Strong Consistency (SC) Roster Engineering

Design and operational hardening of SC namespaces so network partitions, rolling upgrades, and dead-node replacements never cause unacknowledged write loss.

  • 3-AZ symmetric roster sizing to guarantee majority sub-cluster formation
  • commit-to-device assessment and step-by-step revive/recluster runbooks
strong-consistency · roster-set · commit-to-device
03

Multi-DC XDR Failover & Active-Active

Cross-Datacenter Replication architecture for active-passive disaster recovery or active-active regional writes across Aerospike 5.x, 6.x, and 7.x.

  • Bin-level LUT convergence, ship-nsup-deletes, and XDR filter expressions
  • Automated regional traffic evacuation and XDR rewind recovery procedures
context=xdr · bin-policy · xdr-rewind
Aerospike consulting
04

Smart Client Failover & Timeout Tuning

Cluster HA only works if application clients route around a dead node in milliseconds. We audit and tune your SDK policies under fault injection.

  • SocketTimeout, TotalTimeout, maxRetries, and Sequence replica read fallback
  • Connection pool pre-warming and tend-thread resilience during cluster rebalances
ClientPolicy · ReadPolicy · Sequence
05

Mesh Heartbeat & Fabric Hardening

Tuning the intra-cluster mesh protocol and Linux network stack so cloud AZ jitter does not trigger cascading cluster_key changes.

  • Mesh heartbeat interval/timeout calibration for multi-AZ and stretched VLANs
  • Migration throttling (migrate-threads, migrate-fill-delay) during post-fault healing
heartbeat.mesh · migrate-threads · cluster_key
Aerospike performance tuning
06

Game-Day Failover Drills & Chaos Validation

We do not leave high availability on a whiteboard. We run controlled node terminations, AZ blackholes, and XDR region cutovers with your team.

  • Measured client p99 latency and error-rate capture during live node kills
  • Signed-off runbooks for AZ loss, dead_partitions revival, and regional DR promotion
asadm · Fault Injection · Game-Day Dossier

Shared responsibility & incident SLAs

Who owns what across multi-AZ and multi-DC Aerospike.

Cloud providers guarantee power and fiber across zones, but your Aerospike configuration determines whether an AZ outage causes zero impact or a cluster-wide halt.

Multi-AZ & multi-region network fabric
Cloud provider operates physical AZs, VPC peering, and transit gateways.
Your cloud/network team provisions subnets; JusDB specifies MTU, bandwidth, and latency budgets.
Rack-aware partition & replica placement
Requires explicit rack-id configuration per namespace.
JusDB configures rack-id per AZ, verifies partition distribution, and sets client preferRack.
Strong Consistency (SC) roster & quorum
Customer owns SC roster lifecycle and partition revival decisions.
JusDB designs 3-AZ SC rosters, commit-to-device durability, and maintenance runbooks.
XDR cross-datacenter failover & convergence
Customer owns XDR shipping topology, LUT convergence, and DNS/client cutover.
JusDB architects active-passive or active-active XDR and rehearsals regional evacuation.
Smart Client timeout & retry behavior
Never tuned by infrastructure providers.
JusDB audits application SDK policies so node failures trigger fast replica fallback.
SLA response times by severity

P1 to P3 incident response matrix

24/7 support. SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins. Our engineering team is in India (IST, UTC+5:30) and provides 24/7 support.

SeverityConditionResponse SLA (24/7)
P1 · CriticalProduction database down, primary unreachable, data corruption risk, or active failover event.15 mins
P2 · HighSevere latency spike, replication lag climbing rapidly, connection exhaustion, or degraded HA node.30 mins
P3 · MediumNon-critical slow query regression, staging issue, backup warning, configuration question, or planned operational request.60 mins

Response means an on-call engineer is working the incident, not an automated reply.

Customer boundaries

What you keep control of

  • Set business priorities, application requirements, and release plans
  • Approve production changes, except routine actions you have pre-approved
  • Own your cloud accounts, access policies, and vendor relationships
  • Decide when maintenance can happen and how quickly service must recover
  • Move the work in-house or to another provider after your agreement's notice period, with your data returned or deleted and the transition help your agreement sets out (see Terms, section 8)
JusDB accountability

What JusDB owns

  • Monitor database health, investigate alerts, and involve the right people
  • Review query performance, replication, capacity, and backup health
  • Carry out approved changes and update the operating instructions they affect
  • Report completed work, open risks, and recommended next steps

AZ failure & quorum simulator

Why 3-AZ rack-aware placement beats a 2-AZ split in Strong Consistency mode.

Compare steady-state multi-AZ operation against an uncoordinated 2-AZ outage and an engineered 3-AZ failover.

aerospike_az_failover_simulator

Application and routing

Smart Client (preferRack) -> Local AZ Primary -> Sync RF=3 across AZs + Async XDR

Active
  • az-a (rack-id 1)

    1/3 Master Partitions

    online · local AZ reads · dead_partitions=0

  • az-b (rack-id 2)

    1/3 Master Partitions

    online · local AZ reads · SC roster synced

  • az-c (rack-id 3) + XDR

    1/3 Master + XDR Shipper

    online · xdr_lag=0s to remote DR region

Every partition has one copy in each of the three Availability Zones. Smart Clients read from their local AZ rack, saving cross-AZ transfer costs while maintaining full RF=3 durability.

HA verification & roster runbook

Committing a 3-AZ Strong Consistency roster and rack-aware policy.

Exact asinfo commands and aerospike.conf stanzas we use to lock in rack-aware partition placement and verify SC roster health.

HA Blueprint #02 · 3-AZ SC Roster

Eliminating single-AZ write lockouts on a payment ledger namespace

A 6-node cluster running strong-consistency true was deployed across only two AWS Availability Zones without rack-id. During an AZ network test, losing 3 of 6 nodes prevented a majority sub-cluster from forming, halting writes on 2,700 partitions.

Architectural change: Redistributed the 6 nodes across 3 Availability Zones (2 nodes per AZ with rack-id 1, 2, and 3) and committed the new SC roster.
Verified outcome: Full termination of all nodes in rack-id 1 left 4 of 6 roster nodes online with unavailable_partitions=0 and dead_partitions=0.
Validated via live AZ blackhole drill prior to production cutover

01 · Verify observed nodes and commit a rack-aware Strong Consistency roster

# 1. Inspect current roster, observed_nodes, and rack distribution for SC namespace
asinfo -v "roster:namespace=ledger_sc"
asadm -e "show racks"

# 2. Copy observed_nodes into the active roster and trigger cluster-wide recluster
OBSERVED=$(asinfo -v "roster:namespace=ledger_sc" | tr ':' '\n' | grep observed_nodes | cut -d'=' -f2)
asadm -e "enable; manage roster stage observed ns ledger_sc"
asadm -e "enable; manage recluster"

# 3. Confirm roster matches observed_nodes and zero partitions are unavailable
asadm -e "show stat namespace for ledger_sc like dead_partitions|unavailable_partitions"

02 · Target aerospike.conf rack-aware SC & mesh heartbeat stanza

network {
    heartbeat {
        mode mesh
        port 3002
        mesh-seed-address-port 10.20.1.10 3002
        mesh-seed-address-port 10.20.2.10 3002
        mesh-seed-address-port 10.20.3.10 3002
        interval 150
        timeout 15
    }
}

namespace ledger_sc {
    replication-factor 3
    strong-consistency true
    commit-to-device true
    rack-id 1 # Set to 1 in AZ-a, 2 in AZ-b, 3 in AZ-c

    storage-engine device {
        device /dev/nvme0n1
        write-block-size 128K
    }
}
Evaluation Vector
JusDB DBRE
In-House DBALegacy AgencyDeveloper Generalist
Multi-Datacenter XDR Active-Active Topology & Mesh RoutingFull-mesh active-active XDR topologies, bin-level shipping filters, dynamic pipe bandwidth shaping, and generation-based conflict resolution across multi-cloud regions.Basic point-to-point XDR setups without compression or ship-bin filtering; suffers pipe buffer overflows during transient WAN degradations.Active-passive single-link setups with manual failover scripts and no unacknowledged write lag monitoring.Naive application-tier replication or dual-writes without XDR engine utilization, causing split-brain state divergence.
Strong Consistency (SC) Quorum & Automated Roster ManagementMathematical linearizability guarantees, rack-aware SC namespaces, automated roster re-clustering upon node transitions, and zero phantom writes.Manual roster-set commands during emergency maintenance; miscounts quorum nodes causing deadlocks and unavailable partition errors.Defaults to AP mode without evaluating split-brain risks, leading to data loss on financial transactions during network splits.Unaware of roster mechanisms; accidentally breaks consensus quorum during routine OS security patch reboots.
Rack-Aware Partition Distribution across Cloud Availability ZonesStrict multi-AZ rack-id allocation ensuring primary and replica partitions never share the same cloud zone, power domain, or failure corridor.Default round-robin partition assignments; cloud AZ outages cause simultaneous primary and replica loss for multiple partitions.Single-rack or flat configuration assuming cloud provider managed storage provides internal high availability.Random node placement without rack topology awareness, causing cascading node evictions during zone degradation.
Automatic Sub-Second Failover & Dead Node TriageHeartbeat mesh tuning (multicast/mesh), calibrated interval/timeout thresholds, sub-second client-side cluster map refreshes, and client retry policies to minimize request timeouts during node loss.Conservative heartbeat timeouts (15s+) causing extended client connection freezes and request queue backlog spikes during node crashes.Manual incident triage requiring engineer intervention to pull unresponsive nodes from load balancer pools.Hardcoded server IP lists in client configurations that fail to discover new master partitions after node drops.
Cross-Region Disaster Recovery & RPO TargetsRPO targets agreed per workload: zero under Strong Consistency with multi-region synchronous replication, or seconds with tuned XDR pipelines; tested automated cutover runbooks.Daily snapshot backups to object storage; disaster recovery incurs 12-24 hour RPO data loss and multi-hour RTO restoration lag.Untested cold standby clusters with stale schemas, mismatched server versions, and unverified data consistency.No formal DR plan; assumes cloud snapshot policies are sufficient for high-throughput distributed NoSQL databases.
Chaos Engineering & Network Partition Drill DrillsAutomated fault-injection drills on an agreed cadence: simulated WAN cuts, sudden node drops, asymmetric network splits, and disk corruption stress tests.Ad-hoc manual failover testing in non-production environments that fails to simulate real production write loads.High-level architectural checklists without empirical partition testing or failover drill documentation.Untested architecture until a real-world infrastructure outage exposes latent cluster partitioning flaws.

Engagement models

How to engage JusDB for Aerospike high availability.

Start with a fixed-scope HA architecture and Game-Day rehearsal, then transition into ongoing operational coverage if needed. A monthly retainer for a set number of engineering hours, or a monthly fee per database instance, HA cluster, or region; projects are scoped and quoted separately.

Architecture & Game-Day

HA & XDR Design Review

Fixed-scope audit and implementation of 3-AZ rack-aware placement, Strong Consistency rosters, XDR convergence, and live failover rehearsals.

Continuous Operations

Aerospike Remote DBA

Ongoing roster management, rolling quiesce/recluster upgrades, XDR monitoring, and recurring backup and DR drills.

Emergency Escalation

Aerospike Support

24/7 on-call escalation for SC dead_partitions revival, split-brain recovery, and XDR stalls.

Procurement and security

Ready for legal and security review.

Mutual NDA before any access, least-privilege credentials in your vault, and security controls aligned with ISO 27001 and SOC 2 Type II.
  • Mutual NDA before any access
  • Named individual accounts only
  • Read-only access by default
  • ISO 27001 & SOC 2 Type II: aligned, certification in progress
  • Mutual NDA before any access

    We sign a mutual NDA before viewing schemas, logs, slow-query captures, or cloud topology.

  • Least-privilege, named credentials

    Engineers connect through your bastion, VPN, or SSM using named accounts with read-only permissions by default.

  • Change control & approval gates

    Production DDL, parameter changes, and failovers follow your change-management workflow with rollback steps prepared first.

  • Named leadership & direct escalation

    Engagements are led by named senior database reliability engineers in India with direct Slack, Teams, and PagerDuty channels.

Aerospike high availability FAQ

Failover timing, SC rosters, and XDR questions.

Technical answers on how Aerospike handles node loss, AZ partitions, and cross-datacenter replication.

Still have a question?

Ask it on a scoping call. No production access needed.

Book a 30-min scoping call (opens Google Calendar in a new tab)

How fast does Aerospike fail over when a node or Availability Zone goes down?

Aerospike has no single primary node to elect: all 4,096 partitions are distributed across the cluster. When a node fails, mesh heartbeats detect the loss within heartbeat.interval * heartbeat.timeout (typically 1.5 to 3 seconds), the cluster forms a new succession list, and Smart Clients automatically route traffic to the promoted replica partition. When client SocketTimeout and Sequence policies are tuned properly, applications experience only a brief retry blip on the affected partitions.

How do you prevent split-brain in Aerospike clusters?

For namespaces that cannot tolerate split-brain writes or stale reads, we configure Aerospike Strong Consistency (SC) mode across at least 3 Availability Zones (racks) with a committed roster. During a network partition, only the sub-cluster holding a strict majority of roster nodes (and required rack copies) continues serving requests, while the minority side halts immediately.

What is the difference between rack-aware high availability and XDR?

Rack-aware high availability operates inside a single Aerospike cluster stretched across multiple Availability Zones in the same region, using synchronous intra-cluster replication (RF=2 or RF=3). Cross-Datacenter Replication (XDR) operates asynchronously between separate Aerospike clusters in different geographic regions for disaster recovery, low-latency local regional reads, or active-active multi-region architectures.

Can rack-aware reads reduce our AWS or GCP cross-AZ data transfer bill?

Yes. By assigning matching rack-id values to both your Aerospike nodes and your application containers/VMs in each Availability Zone, and enabling rack-aware read preference on the Smart Client (ReadModeAP.ONE with preferRack), clients read from the replica inside their own AZ rather than crossing AZ boundaries on every lookup.

How do you validate that our Aerospike HA architecture actually works?

We run structured Game-Day failover rehearsals in staging or pre-production (and controlled maintenance drills in production). We measure exact client p99 latency, error codes, XDR lag recovery, and SC partition states while terminating nodes, severing inter-AZ network links, and executing regional XDR cutovers.

What ongoing support is available after our HA architecture is deployed?

24/7 support. SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins. Our engineering team is in India (IST, UTC+5:30) and provides 24/7 support. You can transition directly into an Aerospike Remote DBA retainer (/databases/aerospike/remote-dba) or a reactive Support agreement (/databases/aerospike/support) so our DBREs maintain your SC rosters and XDR links ongoing. A monthly retainer for a set number of engineering hours, or a monthly fee per database instance, HA cluster, or region; projects are scoped and quoted separately.

Aerospike engineering ecosystem

Adjacent Aerospike services for resilient operations.

Pair high-availability topology design with capacity consulting, performance tuning, or managed Remote DBA coverage.

Architecture

Aerospike Consulting

Comprehensive HMA/All-Flash capacity modeling, CDT schema design, and XDR architecture reviews.

Explore service
Support

Aerospike Support Services

15-minute P1 response SLA, 24/7, for SC partition lockouts and XDR stalls.

Explore service
Operations

Aerospike Remote DBA

Continuous fleet management, rolling quiesce/recluster upgrades, and scheduled backup restore drills.

Explore service
Optimization

Aerospike Performance Tuning

Sub-millisecond tail-latency optimization, NVMe ACT validation, and fabric/IRQ tuning.

Explore service
Migration

Aerospike Migration Services

Low-downtime cross-platform and cross-cloud Aerospike migrations with dual-write validation.

Explore service
Cloud-Native

Aerospike on Kubernetes

Rack-aware Aerospike Kubernetes Operator (AKO) deployments across multi-AZ node pools.

Explore service

Prove your Aerospike failover before an outage tests it

Architect 3-AZ rack-aware Aerospike and multi-DC XDR with confidence.

Book a scoping call with our Aerospike architects to review your rack-id placement, Strong Consistency rosters, and XDR failover runbooks.