Hybrid
Storage
Engine

> SYSTEM_STATUS: OPERATIONAL A high-performance, ACID-compliant JSON database powered by Rust. Optimized for Node.js workloads requiring extreme throughput (90k+ ops/sec) and data safety.
GET STARTED
npm i json-database-st
RUST CORE // ACID COMPLIANCE // 90,000 OPS/SEC // ZERO CONFIG // TYPESCRIPT SUPPORT // WAL DURABILITY // IN-MEMORY SPEED // RUST CORE // ACID COMPLIANCE // 90,000 OPS/SEC // ZERO CONFIG // TYPESCRIPT SUPPORT // WAL DURABILITY // IN-MEMORY SPEED //

Why v3?

We rewrote the core engine in Rust to eliminate the JavaScript garbage collection overhead and file system bottlenecks.

  • Direct Memory Access (HashMap)
  • Write-Ahead Logging (WAL)
  • Zero-Copy Serialization

Speed

BENCHMARK
90kops/sec

In-memory throughput for sequential writes. 125,000x lower latency for updates compared to v2.

Safety

ARCHITECTURE
ACIDcompliant

Data is appended to a Write-Ahead Log before memory confirmation. Crash-proof design.

Simplicity

DX
JSONnative

No SQL. No schemas (unless you want them). Just object manipulation with persistence.

It's just JavaScript.

// 1. Setup

const db = new JSONDatabase('data.json', { 
  wal: true, // Durability enabled
  indices: ['email'] 
});

// 2. Usage

// Atomic Write
await db.set('users.alice', { id: 1, bal: 500 });

// O(1) Read
const user = await db.findByIndex('email', 'alice@co');