Free audit

View Audit Scope
AerospikeAerospike · Hybrid Memory · Smart Cluster · XDR
Real-Time NoSQL

Aerospike, sub-millisecond at millions of TPS.

Executive Direct Answer · Aerospike Architecture

Aerospike is a distributed real-time NoSQL database engineered with a Hybrid Memory Architecture (HMA) that pairs in-DRAM primary indexes with raw SSD block storage. Capable of executing millions of transactions per second at sub-millisecond p99 latency, Aerospike powers ad-tech bidding, fraud detection, and financial telecommunications. JusDB provides Aerospike DBRE: raw NVMe profiling, XDR cross-DC tuning, Strong Consistency (SC) failover, and agreed incident response, with 24x7 on-call available.

Storage: Hybrid Memory (DRAM + NVMe Flash)·Latency: Sub-Millisecond p99 at Millions TPS·Replication: Active-Active Cross-DC (XDR)·Consistency: Strong Consistency (SC) & AP Modes·Response Targets: Per Agreement

We consult on high-performance NoSQL for real-time applications that need sub-millisecond latency. Our Aerospike work covers optimization and deployment.

Running Aerospike at production scale?

  • ▸ Hybrid Memory tuning — your sub-millisecond p99 latency target is sliding. The DRAM + SSD storage profile needs an audit against real working-set and write-amplification numbers.
  • ▸ Hot-key contention — specific partitions throttle at peak load, even though namespace-level resources are unsaturated. Your namespace + set partitioning needs a review.
  • ▸ XDR cross-DC replication — lag is climbing past SLA. The conflict-resolution policy is unclear. The multi-region cutover runbook hasn't been validated under load.

JusDB Aerospike specialists ship instrumented tuning runbooks for production clusters at scale. See Aerospike consulting →

24

Supported database technologies

24x7

On-call coverage, under your service agreement

30 min

P1 initial-response target on 24x7 on-call

2 to 4 h

Initial-response target in covered business hours

Aerospike engineering

Our Aerospike specialists tune, scale, and secure clusters for demanding real-time applications.

Latency Optimization

Achieve strict sub-millisecond latencies through Hybrid Memory tuning and SSD profiling.

Cluster Scaling & Sizing

Capacity planning and hot-resizing of Aerospike clusters for high-throughput peaks.

Aerospike Connect Integration

Stream data efficiently to Kafka, Spark, and Presto for downstream real-time analytics.

Enterprise Hardening

Configure Role-Based Access Control (RBAC), LDAP, and TLS/mTLS encryption for compliance.

Observability

Configure Prometheus exporters and Grafana for early detection of SSD wear and CPU bottlenecks.

Cross-DC Replication (XDR)

Configure XDR for multi-region failover and distributed edge-locality reads.

Which Aerospike service do you actually need?

Match the symptom you're seeing to the engagement that fixes it. If more than one row matches, start with consulting. It settles the architecture, and most other engagements depend on the topology being right.

Symptom / situationRight engagementWhy
Moving from DynamoDB / Cassandra / Redis to AerospikeAerospike MigrationCutover playbook, dual-write topology, data-model translation, rollback gates.
Sub-millisecond p99 latency is sliding under loadPerformance TuningHybrid Memory + SSD storage profile audit, namespace tuning, hot-key remediation, write-amplification analysis.
Production cluster down or replication-lag incidentAerospike SupportAgreed incident response (24x7 on-call available), root-cause analysis, post-mortem playbooks.
Multi-region active-active design / XDR cutoverHigh AvailabilityXDR cross-DC replication topology, conflict-resolution policy, region-failover runbook.
Ongoing operations — no in-house Aerospike DBARemote DBADedicated DBA-as-a-service: monitoring, patching, capacity planning, query tuning.
Aerospike on Kubernetes / EKS / GKEAerospike on KubernetesAerospike Kubernetes Operator (AKO), StatefulSet design, persistent storage class, multi-AZ topology.
Architecture decision before any code shipsAerospike ConsultingTopology design, namespace + set strategy, hybrid memory sizing, DynamoDB / Cassandra comparison.

Aerospike at a glance — what the leaves don't cover

Aerospike is a NoSQL key-value + document database built around Hybrid Memory Architecture. Indexes sit in DRAM. Data sits on SSD with raw block access, bypassing the filesystem. That single architectural choice is why Aerospike consistently delivers sub-millisecond p99 latency at scale. It holds that latency where Redis runs out of RAM budget and Cassandra chokes on GC pauses. So it becomes the database of record for real-time fraud detection, ad-tech bidstreams, gaming leaderboards, and telecom subscriber profiles. In those workloads the latency budget is measured in microseconds, and you cannot afford a stop-the-world GC.

Three trade-offs are worth knowing before you adopt it:

  • ▸ Strong Consistency (SC) vs Available (AP) — the two modes have different semantics. The one you pick changes failover behaviour.
  • ▸ XDR replication is always asynchronous — Cross-Datacenter Replication needs operational discipline to get right under load.
  • ▸ Enterprise is rarely optional — XDR, RBAC, on-disk encryption, and Aerospike Connect for Kafka/Spark all ship in Aerospike Enterprise (paid). Production deployments end up needing them, so the "Community is enough" assumption rarely survives the first scaling event.

Aerospike expertise
at microsecond latency

We tune defrag thresholds and size the primary index in DRAM. We profile SSD write-blocks and audit XDR ship throughput. The result is a cluster that holds sub-millisecond p99 under millions of transactions per second.

Sub-millisecond latency optimization
Hybrid memory architecture configuration
Strong consistency and AP mode setup
Cross-datacenter replication (XDR)
Secondary index optimization
User-defined functions (UDF) development
Aerospike Connect integrations
Performance monitoring and alerting

Cluster Performance

After tuning
Defrag thresholds tuned95%
Primary index RAM sizing91%
SSD write-block efficiency89%
XDR ship throughput87%

Illustrative health scores · results depend on the workload

Workloads we've transformed

Illustrative examples of the problem and the fix, not client measurements.

Cache → Aerospike

1,800µs

210µs

Redis cache layer + separate datastore

The fix

Collapsed cache + store into Aerospike hybrid-memory — 1 hop, ~70% lower infra cost

Hot Key Contention

9,400µs

340µs

Single hot key serializing writes

The fix

Sharded key + write-block tuning; p99 dropped below 0.5ms

Index in RAM

6,200µs

180µs

Secondary-index query scanning SSD

The fix

Sized primary + secondary index fully in RAM; data on NVMe

Smart Cluster ACTIVERF=2 · auto-rebalance · shared-nothing

4/4

Nodes stable

18s

Rebalance Complete

420µs

p99 Read Latency

node-01 · 3000 · dc-us
PARTITIONS 683STABLE
node-02 · 3000 · dc-us
PARTITIONS 683STABLE
node-03 · 3000 · dc-us
PARTITIONS 683STABLE
node-04 · 3000 · dc-eu
XDR REPLICASHIPPING

Always on. Shared-nothing.

Aerospike's Smart Cluster is shared-nothing, with no master. Partitions distribute themselves across nodes and rebalance on every membership change. XDR ships data cross-datacenter for multi-region failover. A lost node recovers in seconds on a topology designed for the availability target agreed for your workload.

Smart Cluster shared-nothing topology — no single master
Automatic partition rebalance on node join/leave
Strong Consistency (SC) and Available (AP) modes
XDR cross-datacenter replication for multi-region failover
Replication factor RF=2+ with rapid recovery

A latency P1, answered within your agreement's target.

When defrag falls behind on NVMe, the write-block queue backs up. A named Aerospike engineer responds to that, not a ticket queue. Raising defrag thresholds and sprigs, then a rolling node restart, caught the cluster up with no downtime. A blameless postmortem followed.

P1 alert → named Aerospike engineer paged within your agreement's initial-response target
Root cause via asadm, log analysis & Grafana dashboards
Defrag + write-block tuning, rolling restart — no maintenance window
Blameless postmortem with a prevention plan
Illustrative sequence
1
Alert fired

p99 read latency rising under namespace pressure

2
Engineer responds

A named Aerospike engineer responds within your agreement's initial-response target

3
Root cause

Defrag falling behind on NVMe; write-block queue backing up

4
Mitigation

Defrag thresholds and write-block settings tuned, then a rolling node restart

5
Follow-up

Write-block queue drained and p99 back to baseline; capacity review and post-incident review

Pre-Migration Assessment

Redis / Cassandra / RDBMS → Aerospike

READY
Data-model & key mapping100%
Bulk load (asbackup / loader)96%
Dual-write replication catch-up93%
Cutover readiness88%

Cutover via dual-write + bulk loader: near-zero downtime

Move to Aerospike with minimal downtime

Redis, Cassandra, DynamoDB or an RDBMS → Aerospike. First we translate the data model and key mapping. Then we bulk-load with asbackup or the loader. Dual-write replication catches the new cluster up, and we cut over in a near-zero-downtime window.

Data-model translation & key-mapping analysis
Bulk load via asbackup / loader + dual-write replication
Collapse cache + datastore into one hybrid-memory hop
Self-hosted & Kubernetes (Aerospike Operator) targets
Plan My Migration

Aerospike Production Failure Modes

Sub-millisecond NoSQL systems face critical operational threats from NVMe write amplification, XDR replication lag overflows, and Strong Consistency partition deadlocks. Here is how JusDB DBREs diagnose and eliminate Aerospike's most severe failure modes.

Critical P1

Write Amplification & Raw NVMe Defragmentation Lag

High-throughput write/update bursts overwhelm storage defragmentation threads. When defrag cannot keep pace with continuous block updates, write queues fill up and trigger sudden disk write halts.

JusDB Engineering Mitigation

Benchmark raw SSD storage with the Aerospike act tool, tune defrag-lwm-pct and defrag-sleep parameters, and deploy multiple disk worker threads across direct raw NVMe block devices.

Critical P1

XDR Buffer Saturation & Cross-Regional Drift

Inter-region WAN latency spikes or remote cluster processing backlogs fill Cross-Datacenter Replication (XDR) memory queues, causing unacknowledged record queues to overflow and inducing split-state drift.

JusDB Engineering Mitigation

Implement dynamic ship-bin filtering to drop ephemeral tracking counters, configure adaptive xdr-max-throughput limits, and set real-time alerting on xdr_unacked_records and lag metrics.

High P2

Strong Consistency (SC) Deadlock & Partition Quorum Loss

In Strong Consistency namespaces, transient network flapping between rack-aware zones trips automatic write deadlocks (split-brain protection), rejecting client writes until manual roster intervention.

JusDB Engineering Mitigation

Tune auto-dun and cluster-stable-timer settings, enforce odd-count availability zone rack-awareness, and establish non-disruptive roster re-clustering protocols during rolling node maintenance.

Production Aerospike Diagnostic Runbooks

Non-blocking asadm administration commands and asinfo node introspection queries executed by JusDB DBREs during incident triage to isolate defrag latency, XDR replication queue backlogs, and SSD IOPS limits.

Namespace Storage, DRAM Index & Defrag Telemetry
asadm / asinfo · Real-time

Inspects namespace disk free percentages, DRAM index allocations, and defrag queue depth across cluster nodes.

# Query namespace disk free percentage, memory usage, and defrag queue depth
asadm -e "show stat namespace like 'used-bytes-disk|used-bytes-memory|defrag-q|free-pct-disk'"

# Inspect low-water-mark defrag status and tombstone record count
asinfo -v "namespace/prod_kv" -l | grep -E "defrag|write_q|tombstones"
XDR Cross-Datacenter Replication Lag & Link Health
XDR Context · Zero-overhead

Monitors Cross-Datacenter Replication (XDR) shipped records, unacknowledged record backlogs, and link latency.

# Monitor XDR shipped records, unacknowledged queue backlog, and latency
asadm -e "show stat xdr like 'records_shipped|unacked_records|latency_ms'"

# Validate XDR active remote datacenter connectivity and dynamic bin filters
asinfo -v "get-config:context=xdr" -l

Aerospike DBRE: Evaluation Matrix

How JusDB specialized Aerospike database reliability engineering compares against Aerospike Cloud default managed tier and in-house generalists.

Evaluation VectorJusDB Aerospike DBREAerospike Cloud / DefaultIn-House Generalists
Hybrid Memory Architecture (HMA) & SSD ProfilingRaw block NVMe optimization, act-tool benchmark profiling, DRAM primary index sizing, and write-amplification reductionGeneric instance provisioning without drive stress testing or write queue buffer calibrationFile-system overhead on SSDs causing IOPS bottlenecks, cache thrashing, and elevated write latency under sustained load
Cross-Datacenter Replication (XDR) & Latency BudgetActive-active multi-region mesh, dynamic ship-bin filtering, unacknowledged write lag monitoring, and failover runbooks tested against your recovery objectivesBasic XDR link configuration without granular bin filtering or WAN bandwidth throttling controlsXDR transaction queues filling up during network degradations, leading to out-of-sync regional states and data loss
Strong Consistency (SC) vs AP Mode PartitioningNamespace-level split-brain protection, linearizable read/write tuning, and roster validation across rack-aware topologiesDefault AP mode deployments without formal split-brain protection or cluster roster verificationAccidentally running financial ledgers in AP mode or experiencing partition unavailability due to incorrect roster definitions
Secondary Indexing & Set Partition DesignDRAM/Flash secondary index memory modeling, predicate query optimization, and hot-partition key distribution analysisBasic secondary index creation; no profiling for high-cardinality index memory footprintUnindexed predicate scans or hot-key partitions exhausting single-core worker threads during peak real-time bidding
Aerospike Kubernetes Operator (AKO) & SizingProduction AKO CRD deployment, persistent volume claim (PVC) direct NVMe binding, graceful rolling upgrades, and rack-aware pod spreadStandard cloud Kubernetes templates requiring manual cluster migration and stateful storage reconfigurationStatefulSet pod restarts causing abrupt data rebalancing and migration storm that overloads disk I/O
Incident Response & EscalationNamed Aerospike engineers join your incident bridge. Initial-response targets: 2 to 4 hours in covered business hours; 30 minutes for P1 incidents with 24x7 on-call. Targets, not resolution guarantees.Standard cloud support tickets with 1-to-2 hour initial response windows and generalist infrastructure repsEngineers reading server log hex codes and defrag thresholds at midnight during latency-spike customer outages

Aerospike consulting & deployment — frequently asked questions

Common questions about Aerospike consulting services

What makes Aerospike different from other NoSQL databases?

Aerospike's hybrid memory architecture pairs DRAM with SSD storage. That is how it holds sub-millisecond latency at massive scale. Aerospike also supports two modes: Strong Consistency (SC) and high-availability (AP). You set the mode per namespace, so each dataset gets either linearizable consistency or maximum availability. That makes it a strong fit for real-time applications.

How do you ensure data consistency in Aerospike clusters?

We set up Aerospike's strong consistency model with clear conflict-resolution policies. Replica synchronization and read/write policies keep data integrity across nodes in the cluster. Where you need multi-region coverage, we add cross-datacenter replication (XDR) on top.

What's the typical performance improvement with Aerospike?

It depends on the use case and the database you are moving from. Aerospike is built for sub-millisecond reads and writes at high throughput, so latency-bound workloads moving off disk-based stores tend to see the largest change. We benchmark your workload on the current system and on Aerospike before cutover, so the gain is measured rather than estimated.

Do you provide ongoing support after implementation?

Yes. Coverage runs in business hours, and 24x7 on-call is available under your service agreement. Support covers monitoring, maintenance, performance tuning, and emergency response, from basic monitoring up to dedicated DBA services.

Can Aerospike handle both OLTP and OLAP workloads?

Aerospike is built for real-time OLTP workloads. For OLAP, we usually recommend a hybrid architecture. Aerospike handles the real-time operations. A companion engine such as Apache Spark or ClickHouse runs the analytical workloads.

What's the migration process from existing databases?

We migrate in phases: assessment, data modeling, parallel running, gradual cutover, and validation. We design cutovers to keep downtime short and agree any planned window with you in advance; we do not guarantee zero downtime.

Technologies We Work With

Complete Aerospike ecosystem and integration tools

Aerospike Database
Aerospike Connect
Aerospike Kubernetes
Aerospike Tools
Prometheus
Grafana
Docker
Kubernetes

Ready for Sub-Millisecond Performance?

Put Aerospike's high-performance NoSQL database behind your real-time applications. Our experts help you reach the speed and scale you need.