DISTRIBUTED SOVEREIGN STORAGE · CLIENT ENCRYPTED CUSTODY

Engineered for Sovereign Cloud File Storage & Encrypted Durability

Aarkam is not a database manager — it is a distributed sovereign cloud storage engine decomposing the file & object stack into six decoupled layers. We secure enterprise files as encrypted data via client envelope encryption, zero-allocation memory pipelines, SIMD vectorization, and Direct I/O NVMe bypass to eliminate latency and hardware penalties.

End-to-End Zero-Allocation File Write Path

From client S3 stream to encrypted Direct I/O NVMe storage chunks

Client Stream → Cauchy Parity → Direct NVMe
1
S3 Ingest AWS SigV4 Auth Aarkam.IO :57772
2
Envelope Crypto AES-256-GCM (HSM) Zero Foreign Custody
3
Cauchy Math AVX-512 SIMD (8+3) Ahmodi 12.5 GB/s
4
gRPC Transit Parallel mTLS Mesh Rokka Hash Ring
5
LSM Direct I/O Direct NVMe Bypass Kdouja Engine
01

Ahmodi: Cauchy Reed-Solomon Erasure Coding Engine

AVX-512 & AVX2 Vectorized Galois Field GF(2⁸) Kernel
58.3% Storage Cost Cut

Where legacy systems store 3 full replicas (consuming 300% raw disk space), Ahmodi divides payloads into K data chunks and mathematically computes M parity chunks. Using Cauchy distribution generator matrices over Galois Field GF(2⁸), any sub-matrix is guaranteed non-singular, allowing instantaneous inversion via Gaussian elimination.

Supported Enterprise Profiles:
Profile (4+2): 66.7% Efficiency · Tolerates 2 Failures
Profile (8+3) [Standard]: 72.7% Efficiency · Tolerates 3 Failures
Profile (16+4) [Archive]: 80.0% Efficiency · Tolerates 4 Failures
SIMD AVX-512 Vector Kernel 12.5 GB/s / Core
// Vectorized GF(2⁸) multiplication via 4-bit nibble tables
var vLowTable = Vector512.Create(LowNibbleTable[coeff]);
var vHighTable = Vector512.Create(HighNibbleTable[coeff]);
var vMask = Vector512.Create((byte)0x0F);

// Parallel 64-byte chunks processed per single clock cycle
var lowRes = Avx512BW.Shuffle(vLowTable, lowNibbles);
var highRes = Avx512BW.Shuffle(vHighTable, highNibbles);
var result = Vector512.Xor(lowRes, highRes);
02

Kdouja: Embedded LSM-Tree Persistence Engine

Direct I/O NVMe Bypass · Arena Skip-List · Synchronous WAL Replay
Zero Inode Exhaustion

Storing millions of small chunks as discrete operating system files exhausts filesystem inodes and fragments metadata caches. Kdouja operates in-process inside every storage node, packing chunks into contiguous multi-gigabyte append-only segment containers.

By supporting unbuffered Direct I/O (O_DIRECT), Kdouja bypasses the operating system page cache entirely. NVMe writes stream straight from userspace memory buffers to physical flash with zero double-buffering kernel copies.

Durability Guarantees:
✔ Synchronous WAL Append: Every chunk key-value write is committed to disk before acknowledging upward.
✔ Arena Memory Pools: Skip-list nodes allocated from contiguous unmanaged spans; zero GC pauses.
✔ 1% False-Positive Bloom Filters: Rejects non-existent chunk reads in memory without disk I/O.
03

Rokka: Stateless Raft MON & Distributed Data Daemon

Consistent Hash Ring · Epoch Fencing · Speculative Hedged Reads
Zero Bottleneck Mesh

Rokka splits responsibility between a stateless Raft MON consensus coordinator (handling topology changes, cluster epochs, and partition mapping) and a per-host storage daemon (streaming 4KB chunks in parallel over gRPC with mutual TLS).

Because the coordinator is decoupled from the data path, raw chunk uploads bypass the controller entirely—achieving linear horizontal scaling up to thousands of storage hosts without coordinator saturation.

Speculative Hedged Reads:

When retrieving an (8+3) erasure-coded object, only 8 chunks are needed. If any storage node experiences a transient I/O stall, a speculative read is instantly fired to a parity node. The first 8 chunks to arrive reconstruct the file, completely eliminating tail latency spikes.

04

Abodi: Autonomous Telemetry & Predictive Failure Sidecar

Out-of-Band Observation · S.M.A.R.T. Correlation · ML Runway Forecasting
Zero Write Path Interference

Hardware fails continuously in large fleets. Traditional storage discovers drive death only after write failures cause I/O timeouts. Abodi continuously queries S.M.A.R.T. counters, IOPS latency jitter, and flash wear levels directly from the OS kernel via WMI or sysfs.

Its machine-learning correlation rules calculate an impending failure runway (e.g. 72 hours). Rokka automatically fences the degraded node from new writes and migrates replicas gracefully while the drive is still capable of serving reads.

Monitored Telemetry Signals:
• S.M.A.R.T. Reallocated Sector Count (ID 05)
• Current Pending Sector Count (ID 197)
• NVMe Media Wear Percentage & Critical Warning Byte
• P99.9 Tail-Latency Jitter & Kernel SCSI Bus Resets
05

Aarkam.IO: Edge S3 SigV4 Gateway & Management Portal

AWS SigV4 Authentication · DMZ Rate Limiter · RBAC Orchestration
Port :57772 (S3) / :57771 (UI)

Aarkam.IO serves as the public perimeter gateway. It fully implements the AWS SigV4 (AWS4-HMAC-SHA256) protocol, allowing existing enterprise applications, backup agents, and data science pipelines to connect as a 100% drop-in replacement for AWS S3.

The gateway provides cryptographic multi-tenant namespace isolation, bucket-level RBAC policy evaluation, rate limiting, and an administrative Web UI for cluster monitoring.

Gateway Capabilities:
• Full S3 API: Multipart Uploads, Object Tagging, Lifecycle Rules
• S3 Object Lock (Compliance Mode WORM retention)
• TLS 1.3 Strict Termination & AES-256-GCM Envelope Encryption
• Per-Tenant Capacity Quotas and Burst Bandwidth Limits
06

Aarkam.AM: Single-Binary Cluster Orchestration CLI (`am.exe`)

Deterministic Exit Codes · Zero-Downtime Rolling Upgrades · JSON Automation
Single Binary

Engineered for Site Reliability Engineers and automation pipelines, Aarkam.AM (am) is a standalone binary that provides comprehensive cluster control.

From initializing Raft MON quorums to triggering offline hardware evacuations, inspecting Galois Field SIMD benchmarks, and scheduling rolling upgrades, am eliminates manual administration risks through built-in preflight safety checks and structured output formats.

CLI Operations POSIX Exit Codes
# Non-blocking live status refresh
am cluster status --watch 1s

# Graceful storage host evacuation with preflight safety
am node evacuate storage-04 --reason "NVMe replacement" --yes

# Hardware wear evaluation via Abodi ML
am abodi score --device nvme0n1 --format json

Installation Artifacts, Releases & Engineering Guides

Compiled Binaries, Preflight Verification & Step-by-Step Deployment Docs
GitHub & Docker Hub Official Repositories
Production Binaries & Releases v0.9.8-beta

Installation & Releases Repository

Download compiled standalone release packages, including am.exe CLI, aarkam-node daemons, and S3 Gateway binaries with cryptographic SHA-256 signatures.

Container Registry & Images hub.docker.com

Docker Hub Official Registry

Official production-grade OCI container images for Aarkam Sovereign Fabric: multi-arch aarkam-node, high-throughput S3 Gateway, and AM CLI ready for Kubernetes & Docker Compose.

Deployment Architecture & Docs Markdown / Git

Installation Guide & Cluster Blueprint Docs

Comprehensive step-by-step engineering documentation: bare-metal preflight, network topology, kernel bypass tuning, NVMe LSM config, and air-gapped cluster bootstrap.

DIRECT HEAD-TO-HEAD ARCHITECTURAL BENCHMARK

Why Enterprise Architects Choose Aarkam Over MinIO & Ceph

Exhaustive head-to-head analysis demonstrating Aarkam's superiority in zero-copy memory paths, 58.3% hardware Capex savings, and true sovereign HSM custody.

Architecture Dimension
Aarkam (SAT / SCT)
WINNER
Rokka + Kdouja + Ahmodi + Abodi
MinIO Enterprise
Standard POSIX / Go FS
Red Hat / Open Ceph
BlueStore / CRUSH / RGW
Storage Engine & NVMe Access
I/O Path & Page Cache
Kdouja Direct I/O (O_DIRECT)

Completely bypasses OS page cache via O_DIRECT (66KB sector). Zero memory bloat and zero GC pause stalls during heavy streaming.

POSIX / Linux FS

Heavily relies on kernel page cache; susceptible to Go GC pause stalls during heavy multi-part object streams.

BlueStore / RocksDB

High double write amplification; complex metadata cache tuning and memory balancing required per OSD daemon.

Hardware Capex & Erasure Coding
Algorithm & Drive Savings
Ahmodi AVX-512 Cauchy RS (8+3)

72.7%–80% usable efficiency. 58.3% direct raw drive Capex reduction at 12.5 GB/s/core processing throughput.

Vandermonde RS

Typical 50%–66% efficiency (e.g. 8+8 or 12+4); higher parity storage overhead and significant CPU burden.

3x Replication / Jerasure

Default 3x replication consumes 300% raw storage (3x hardware cost); erasure coding imposes heavy latency penalty.

AI / GPU Training & P99.9 Latency
Tail Latency & Hedged Reads
Speculative Hedged Reads (P99.9 < 5ms)

Sub-5ms P99.9 latency. Dispatches redundant sub-slice requests on disk stalls, feeding PyTorch/GPU tensor pipelines without interruption.

Linear S3 Read Retries

Degraded drives or network micro-drops cause tail latency spikes, stalling PyTorch dataloaders.

CRUSH Peer Peering

High P99 tail variance during peering and backfill; unsuited for real-time tensor streaming.

Deployment & Operational Footprint
Binary & Dependencies
Self-Contained Binaries (2-Min Setup)

Single binary footprint. Zero external database required. Fully air-gapped without external telemetry.

AGPLv3 Licensing Traps

Easy to deploy initially, but AGPLv3 copyleft constraints force expensive commercial Enterprise subscriptions.

5+ Daemons Complexity

Requires deploying and maintaining Ceph MON, MGR, OSD, RGW, and MDS daemons with heavy operator overhead.

Hardware Key Custody & Sovereignty
PKCS#11 & KMIP 2.0
Native PKCS#11 / KMIP 2.0 HSM

Master keys never leave on-premise hardware HSM. Shamir 3-of-5 split custody via sovereign Genesis Ceremony.

KES / Cloud KMS Focused

Requires MinIO KES sidecar; primarily targeted for HashiCorp Vault or public cloud KMS APIs.

RGW KMS Integration

Vault / Barbican plugin integration; non-trivial to configure with physical on-premise HSM appliances.

Autonomous Bitrot Scrubbing & Healing
Predictive ML vs Reactive
Abodi ML Sidecar (72h Forecast)

Non-disruptive autonomous background scrubbing. Predicts hardware degradation 72 hours in advance via ML telemetry before sector death.

Reactive Auto-Heal

Reactive healing triggered only upon reading corrupted sectors; introduces CPU resource contention on live workloads.

Heavy Deep Scrubbing

Scheduled deep scrubbing saturates storage bus and causes severe tail latency spikes during cluster background checks.

Executive Architectural Verdict

Aarkam delivers unmatched sub-5ms P99.9 latency, 58.3% hardware Capex savings, and true sovereign HSM compliance.