Free audit

View Audit Scope
JusDBAerospike 5.x · 6.x · 7.x · HMA · All-Flash · XDR · Strong Consistency

Aerospike consulting for sub-millisecond scale, XDR, and HMA sizing.

JusDB provides Aerospike consulting for engineering teams designing new clusters or auditing production deployments. We model Hybrid Memory Architecture (HMA) and All-Flash NVMe capacity, architect Aerospike cross-datacenter replication XDR, validate Strong Consistency (SC) rosters, and tune CDT data models and Smart Client policies before changes touch production.
The first 30-minute call covers your databases, current ownership, and required coverage. No production access is needed. Or start with a free read-only cluster assessment.
  • NDA before access
  • Read-only by default
  • Written scope before work starts

aerospike_architecture_audit

Aerospike 7.x / 6.x

Primary-index RAM vs sprigs-per-record sizing

Fixed-scope written deliverable: aerospike.conf diffs, XDR topology, SC roster runbook & SDK policies.

Storage Architecture
HMA & All-Flash NVMe
64-byte primary index math, partition-tree-sprigs, and ACT drive validation
Multi-Datacenter
XDR 5.x / 6.x / 7.x
Active-active LUT bin convergence, filter expressions, and WAN lag sizing
Consistency Model
SC Roster & AP Mode
Rack-aware 3+ AZ placement and linearizable roster commit runbooks
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

Production failure modes we solve

Six architectural bottlenecks that bring Aerospike clusters to a halt.

Aerospike delivers predictable sub-millisecond reads and writes only when primary-index RAM, NVMe write blocks, XDR shipping threads, and SC rosters are sized for your real record cardinality.

HWM_BREACH / STOP_WRITES

Namespace hits stop-writes-pct or evicts records early during traffic surges

What is usually happening
Primary index RAM (64 bytes per record) or storage write-block sizing was calculated without accounting for replication-factor overhead, CDT bin growth, and defrag-lwm-pct headroom.
Where we start
Audit asadm memory and device usage, recalculate RAM + NVMe capacity per namespace, and right-size high-water-memory-pct, high-water-disk-pct, and defrag thresholds.
XDR_LAG / HOT_KEY_RETRY

Aerospike cross-datacenter replication XDR lag climbs during peak regional writes

What is usually happening
Per-DC shipping threads, max-throughput caps, or bin-convergence policies are misconfigured, or WAN link saturation causes retry backoffs on hot keys.
Where we start
Inspect asinfo -v 'get-stats:context=xdr;dc=...' metrics, tune shipping thread pools and batching, and design bin-level convergence rules for active-active topologies.
SC_UNAVAILABLE_PARTITIONS

Strong Consistency namespace rejects writes after a rack or AZ maintenance window

What is usually happening
SC roster was not committed via recluster after node topology changes, or rack-id distribution across availability zones cannot form a majority sub-cluster.
Where we start
Inspect roster:namespace via asinfo, verify rack-aware placement across 3+ AZs, and write a deterministic roster management runbook for planned maintenance.
WRITE_BLOCK_EXCEEDED

Application writes fail with Record Too Big on growing Map or List bins

What is usually happening
Unbounded Collection Data Types (CDT) append items into a single record until serialized size crosses write-block-size (default 1 MB on flash).
Where we start
Redesign the key-value data model using bucketed records, CDT trim policies, or inverted index keys so individual records stay well below flash block boundaries.
ALL_FLASH_IOPS_SATURATION

All-Flash primary index reads stall NVMe queues under mixed read/write load

What is usually happening
partition-tree-sprigs is sized too low, resulting in deep sprig trees and multiple 4 KB device reads per primary-index lookup before reading the data block.
Where we start
Calculate optimal partition-tree-sprigs to keep index blocks near a single device read, and separate index devices from data devices on dedicated NVMe namespaces.
SECONDARY_INDEX_FANOUT

Secondary index queries spike cluster CPU and tail latency across all nodes

What is usually happening
Scatter-gather secondary index queries scan every partition across the cluster without partition-targeted keys or predicate filter expressions.
Where we start
Replace scatter-gather sindex queries with composite primary keys, batch-index reads, or partition-scoped query patterns benchmarked against production access profiles.

Consulting scope

Six engineering workstreams inside an Aerospike consulting engagement.

Scoped around your namespace layout, storage hardware, and multi-DC topology. Every workstream produces a written engineering artifact your team can execute or hand to us to implement.

01

HMA & All-Flash Capacity Architecture

Exact byte-level capacity modeling for Hybrid Memory Architecture (RAM primary index + NVMe data) and All-Flash namespaces before you commit to cloud instances or bare-metal hardware.

  • 64-byte primary index, sindex, and sprig math per namespace and replication factor
  • NVMe partition layout, over-provisioning headroom, and ACT certification validation
asadm · act_storage · partition-tree-sprigs
Latency and storage tuning
02

Aerospike Cross-Datacenter Replication XDR Design

Architecture and review for Aerospike cross-datacenter replication XDR across active-passive DR, active-active bin convergence, hub-and-spoke, and selective namespace shipping.

  • XDR 5.x/6.x/7.x dynamic DC configuration, filter expressions, and rewind procedures
  • Conflict resolution using LUT (Last Update Time) and CDT bin-level convergence
asinfo context=xdr · ship-ns · bin-policy
Multi-DC high availability
03

Strong Consistency (SC) vs AP Mode Design

Workload-by-workload decision framework for namespaces requiring linearizable reads and no lost writes (SC mode) versus high-throughput session and ad-tech caches (AP mode).

  • SC roster lifecycle, rack-id AZ distribution, and commit-to-device durability assessment
  • Split-brain behavior modeling for dead_partitions versus unavailable_partitions
strong-consistency · roster-set · rack-id
04

Key-Value & CDT Data Modeling

Schema and record layout engineering for user profiles, fraud feature stores, real-time bidding state, and time-windowed counters within write-block-size constraints.

  • CDT Map/List/Bitwise/HyperLogLog design with bounded record growth and TTL eviction
  • Batch-read, operate(), and expression filter pipelines that minimize network round-trips
CDT Map/List · operate() · Filter Expressions
05

Client SDK & Smart Client Audit

Code-level review of Java, Go, C#, Python, and Node.js Aerospike Smart Client configurations so connection pools and retry policies survive rolling restarts and AZ faults.

  • Tend interval, maxConnsPerNode, socketTimeout, totalTimeout, and rack-aware read preference
  • Batch policy concurrency, async event loops, and circuit-breaker backpressure
ClientPolicy · WritePolicy · BatchPolicy
06

Platform, Cloud & Upgrade Roadmaps

Independent architectural guidance for bare-metal NVMe, AWS i3en/i4i, GCP Z3/N2 local SSD, or containerized deployments, plus multi-hop version upgrade planning.

  • Aerospike 5.x/6.x to 7.x upgrade readiness, configuration migration, and feature deprecations
  • Cloud instance selection, local NVMe shadow-device resilience, and TCO right-sizing
asadm · Cloud NVMe · Aerospike 7.x
Aerospike on Kubernetes

Shared responsibility & SLA response times

What your cloud vendor covers vs what JusDB engineers.

Hardware providers and managed control planes replace failed disks and instances, but they do not size your primary-index sprigs, design XDR bin convergence, or bound CDT record growth.

Instance & NVMe provisioning
Aerospike Cloud / cloud provider provisions VMs and local NVMe drives.
Your platform team provisions bare metal or cloud instances; we specify exact NVMe and RAM ratios.
HMA vs All-Flash namespace math
Customer owns namespace sizing, TTL policy, and memory/disk watermarks.
Customer owns; JusDB calculates primary-index RAM, sprigs, write-block-size, and defrag thresholds.
Strong Consistency (SC) roster & rack-id
Customer defines consistency semantics and rack distribution requirements.
Customer owns; JusDB designs 3+ AZ rack-aware layouts and writes roster commit runbooks.
XDR cross-datacenter topology
Customer owns XDR shipping policies, filter expressions, and conflict rules.
Customer owns; JusDB architects active-passive or active-active LUT bin convergence.
CDT data model & Smart Client policies
Never included by infrastructure vendors - application team responsibility.
JusDB audits key/bin layouts, CDT operations, batch reads, and SDK timeout/retry policies.
SLA response times by severity

Severity matrix for retained Aerospike clusters

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.

Access & governance

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)
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

Interactive topology state simulator

Compare an unmodeled namespace against an engineered HMA + XDR topology.

Select a cluster state below to inspect how primary-index memory, NVMe write blocks, Strong Consistency rosters, and XDR replication behave under load.

aerospike_topology_state_simulator

Application and routing

Smart Client -> Rack-local partition primary -> Async XDR shipping to remote DC

Active
  • dc1-rack-a (Primary)

    HMA Namespace · RF=3

    pi-ram: 58% · device-used: 46% · p99 < 1 ms

  • dc1-rack-b (Replica)

    SC Roster Verified

    dead_partitions=0 · unavailable=0 · defrag steady

  • dc2-dr (XDR Target)

    XDR Active-Active

    xdr-lag: 0s · retry_conn_reset=0 · LUT synced

Primary index fits in RAM with safe headroom below high-water-memory-pct, NVMe write blocks defragment continuously, SC rosters match active nodes, and XDR ships mutations across datacenters with near-zero lag.

Sample consulting deliverable

Read-only diagnostic verification and aerospike.conf remediation.

Every consulting recommendation includes the exact non-destructive asadm / asinfo verification commands and the target configuration diff.

Finding #04 · Namespace & XDR Review

Primary index RAM pressure and XDR full-record shipping saturation

The user_profile namespace runs in HMA mode with 1.8 billion records across 12 nodes (RF=2), consuming 230 GB of primary-index RAM per node and approaching stop-writes-pct during daily TTL bursts. Simultaneously, XDR ships entire 18 KB records on single-bin counter updates.

Root cause: partition-tree-sprigs left at default 256 while XDR bin-policy defaults to shipping all bins.
Remediation plan: Enable bin-policy only-changed in XDR 7.x with LUT convergence, split ephemeral session counters into a dedicated namespace with XDR filter exclusion, and tune defrag-lwm-pct.
Verification mode: Read-only asadm / asinfo telemetry · Zero client impact

01 · Read-only HMA, SC roster & XDR diagnostic inspection

# Inspect namespace memory, device free pct, and write-block defrag queue
asadm -e "show stat namespace for user_profile like memory|device_free_pct|stop_writes|defrag"

# Verify Strong Consistency roster alignment and partition availability
asinfo -v "roster:namespace=ledger_sc"
asadm -e "show stat namespace for ledger_sc like dead_partitions|unavailable_partitions"

# Check Aerospike cross-datacenter replication XDR lag and retry telemetry
asinfo -v "get-stats:context=xdr;dc=dc_eu_central" | tr ';' '\n' | grep -E "lag|lap_us|retry|throughput"

02 · Target aerospike.conf HMA & XDR bin-convergence configuration

namespace user_profile {
    replication-factor 2
    high-water-memory-pct 75
    high-water-disk-pct 70
    stop-writes-pct 85
    partition-tree-sprigs 4096

    storage-engine device {
        device /dev/nvme0n1
        device /dev/nvme1n1
        write-block-size 1M
        defrag-lwm-pct 50
        defrag-sleep 500
    }
}

xdr {
    dc dc_eu_central {
        node-address-port 10.42.16.11 3000
        namespace user_profile {
            bin-policy only-changed
            ship-nsup-deletes true
        }
    }
}
Consulting scope
Consulting output
Client inputValidationHandover
Hybrid Memory Architecture (HMA) NVMe Storage SizingNamespace storage and index budget, with an agreed device-qualification plan.Server version, edition, record sizes, growth, device layout, and workload profile.Representative storage benchmark and latency baseline; qualify ACT use outside production.Sizing assumptions, capacity alerts, and approved configuration changes.
Consistency Mode Architecture (Strong Consistency vs AP)Per-namespace AP/SC decision and application read-policy review.Failure domains, roster, client version, correctness requirements, and latency budget.Validate SESSION or LINEARIZE behavior for the selected client and record operations.Consistency decision record, failure-test procedure, and approved roster-change process.
Cross-Datacenter Replication (XDR) Topology & Filter PipelinesXDR topology, filtering, conflict-handling, and recovery recommendations.Data locality, WAN capacity, replication lag, update conflicts, and recovery objectives.Observe shipping lag and test agreed outage and recovery scenarios.Replication runbook and ownership; asynchronous XDR has its own recovery trade-offs.
Namespace, Set & Secondary Index (sIndex) RAM ModelingPrimary, set, and secondary index budget tied to query patterns and installed storage types.Record counts, index definitions, cardinality, retention, and memory allocation metrics.Compare index and system memory use with the server-version-specific limits.Index decisions, capacity assumptions, and stop-writes alert thresholds.
Disaster Recovery, RPO/RTO Validation & Backup StrategyBackup and restore-test plan matched to the installed tools and agreed recovery objectives.Backup configuration, retention, access, recovery environment, and application checks.Approved test restore with completeness checks and measured recovery time.Recovery evidence, unresolved gaps, and a runbook owned by your operations team.
Enterprise Security Hardening, TLS & Audited RBACTLS, RBAC, logging, and edition-dependent security recommendations.Identity provider, certificate lifecycle, encryption requirements, and responsibility boundaries.Agreed access and encrypted-connection checks, with control evidence recorded.Security recommendations and ownership map; your organization owns compliance decisions.

Engagement models

Three ways to engage our Aerospike architects.

Choose a fixed-scope consulting review or pair it with ongoing operational coverage. 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.

Fixed-Scope Advisory

Architecture & Sizing Audit

Deep-dive review of HMA or All-Flash capacity math, XDR replication topology, Strong Consistency rosters, CDT record layouts, and Smart Client policies.

Project Execution

Migration or Upgrade Delivery

Hands-on implementation of Redis/Cassandra-to-Aerospike migrations, XDR 7.x rollouts, or multi-hop version upgrades with rehearsed cutover and rollback plans.

Retained Operations

Remote DBA & Incident Support

Transition from architecture design to continuous fleet operations or reactive incident response with 24/7 support.

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 consulting FAQ

Common technical and commercial questions.

Direct answers on HMA vs All-Flash sizing, XDR active-active replication, Strong Consistency rosters, and how JusDB scopes consulting work.

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)

What deliverables do we receive from an Aerospike consulting engagement?

You receive a written architecture and findings dossier: namespace-by-namespace HMA or All-Flash capacity math, annotated aerospike.conf diffs, XDR topology and bin-convergence specifications, Strong Consistency roster runbooks, CDT data-model recommendations, and Smart Client SDK policy configurations. Every recommendation is ranked by risk, rollback steps, and expected latency or capacity impact.

How do you decide between Hybrid Memory Architecture (HMA) and All-Flash in Aerospike?

Each record in Aerospike requires 64 bytes in the primary index. When your cluster holds hundreds of millions of relatively large records, keeping the primary index in RAM (HMA) delivers single-IO sub-millisecond reads at reasonable RAM cost. When record counts climb into the tens of billions with small payloads, primary-index RAM dominates hardware cost; All-Flash moves the primary index onto dedicated NVMe devices using tuned partition-tree-sprigs so index lookups fit in 4 KB device blocks.

How do you architect Aerospike cross-datacenter replication XDR for active-active deployments?

Active-active Aerospike cross-datacenter replication XDR requires careful conflict resolution so concurrent writes in two regions do not overwrite unrelated bins. We configure bin-level convergence using Last Update Time (LUT) metadata, enable ship-only-specified-bins or changed-bin shipping, verify NTP/clock synchronization across regions, and write XDR filter expressions so ephemeral session records are not unnecessarily shipped over WAN links.

When should an Aerospike namespace use Strong Consistency (SC) instead of AP mode?

Use Strong Consistency (SC) for financial ledgers, inventory balances, fraud counters, or identity records where dirty reads, stale reads, or split-brain write loss are unacceptable. Use AP (Available and Partition-tolerant) mode for high-volume ad-tech user profiles, feature caches, or telemetry where availability during multi-rack network partitions outweighs strict linearizability. Because consistency is configured per namespace, we often design mixed clusters with SC and AP namespaces side by side.

Can JusDB review our Aerospike Community Edition (CE) or Enterprise Edition (EE) setup?

Yes. We consult on both Aerospike Enterprise Edition (including XDR, Strong Consistency, All-Flash, and Enterprise security features) and Aerospike Community Edition (AP mode, single-cluster HMA, and application-level dual-write or migration strategies). If you are evaluating whether EE features justify license spend or how to structure a cluster within CE limits, we provide vendor-neutral sizing and cost comparisons.

How does Aerospike consulting differ from remote DBA or incident support?

Aerospike consulting is a fixed-scope architectural engagement focused on design decisions, capacity math, data modeling, and migration or XDR blueprints. Ongoing day-to-day cluster operations live under our Remote DBA service (/databases/aerospike/remote-dba), and reactive emergency firefighting lives under Support (/databases/aerospike/support). 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.

What response SLA applies if we need urgent help during an architecture review?

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. Consulting engagements start with a scoping call and read-only diagnostic collection; production emergency response is available when covered by a support agreement.

Aerospike engineering ecosystem

Related Aerospike services across the lifecycle.

Each page focuses on a distinct stage of operating Aerospike in production so your team can pair architectural consulting with targeted execution.

Support

Aerospike Support Services

Reactive incident response for stop_writes, HWM breaches, XDR lag, and SC partition unavailability under a support agreement.

Explore service
Operations

Aerospike Remote DBA

Named DBREs operating your Aerospike fleet continuously: telemetry, rolling upgrades, defrag health, and capacity forecasting.

Explore service
Resilience

Aerospike High Availability & Multi-DC

Rack-aware placement, Strong Consistency roster rehearsals, and multi-datacenter XDR failover engineering.

Explore service
Optimization

Latency and Storage Tuning

Sub-millisecond tail-latency engineering, ACT flash validation, defrag-lwm-pct tuning, and IRQ affinity.

Explore service
Migration

Aerospike Migration Services

Low-downtime migrations from Redis, Cassandra, DynamoDB, or MongoDB to Aerospike with dual-write validation.

Explore service
Cloud-Native

Aerospike on Kubernetes

Stateful Kubernetes deployments with local NVMe block devices, rack-aware scheduling, and rolling lifecycle automation.

Explore service

Start with a written architecture scope

Validate your Aerospike HMA, XDR, and SC design before it hits a wall.

Speak directly with a senior Aerospike architect. We start with read-only telemetry and deliver a written engineering plan with exact configuration diffs.