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
Ahmodi: Cauchy Reed-Solomon Erasure Coding Engine
AVX-512 & AVX2 Vectorized Galois Field GF(2⁸) KernelWhere 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.
// 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);
Kdouja: Embedded LSM-Tree Persistence Engine
Direct I/O NVMe Bypass · Arena Skip-List · Synchronous WAL ReplayStoring 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.
Rokka: Stateless Raft MON & Distributed Data Daemon
Consistent Hash Ring · Epoch Fencing · Speculative Hedged ReadsRokka 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.
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.
Abodi: Autonomous Telemetry & Predictive Failure Sidecar
Out-of-Band Observation · S.M.A.R.T. Correlation · ML Runway ForecastingHardware 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.
Aarkam.IO: Edge S3 SigV4 Gateway & Management Portal
AWS SigV4 Authentication · DMZ Rate Limiter · RBAC OrchestrationAarkam.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.
Aarkam.AM: Single-Binary Cluster Orchestration CLI (`am.exe`)
Deterministic Exit Codes · Zero-Downtime Rolling Upgrades · JSON AutomationEngineered 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.
# 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 DocsInstallation & Releases Repository
Download compiled standalone release packages, including am.exe CLI, aarkam-node daemons, and S3 Gateway binaries with cryptographic SHA-256 signatures.
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.
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.
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
|
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. |
Aarkam delivers unmatched sub-5ms P99.9 latency, 58.3% hardware Capex savings, and true sovereign HSM compliance.