Skip to main content

NEDB — a versioned, self-compressing, time-traveling embedded database (replay-protected, idempotent, relational, searchable) with durable AOF persistence and a server daemon (nedbd).

Project description

⚡ aof-db

The embedded database that goes brrr.

Stupid-fast, append-only, zero-server storage you drop into your app and forget about.


63,400 writes/sec        1,340,000 point reads/sec        one fsync per batch

aof-db is a tiny, blazing-fast, in-process datastore. No daemon. No schema migrations. No 400 MB of dependencies. Just import it and start flooding it with data — it keeps up.

Why people can't shut up about it

  • 🏎️ Fast where it counts. Append-only + group-commit: one fsync per batch, not per record. Bigger batches get cheaper per item. Throughput goes up under load, not down.
  • 🪶 Featherweight. In-process, near-zero footprint. Boots instantly, runs in memory, persists when you say so.
  • 🧷 Durable, not fragile. Every write is hash-chained and the log replays clean on open — crash-safe without the ceremony.
  • 🚀 Scales with your ambition. Same engine family as crypto-database — flip on the content-addressed DAG the day you need time-travel and tamper-evidence. Start fast, grow powerful.

Install (10 seconds, tops)

npm install aof-db     #  pip install aof-db     #  cargo add aof-db
import { NedbCore } from "aof-db";
const db = new NedbCore();
console.time("100k");
for (let i = 0; i < 100_000; i++) db.put("events", String(i), JSON.stringify({ t: Date.now(), i }));
db.flush();              // one durable group-commit for the whole burst
console.timeEnd("100k"); // …go on, time it.

Built for

Edge & embedded · high-throughput event logging · local-first apps · game state · CLIs · anywhere "just make it fast" beats "stand up a server."

Note: aof-db was previously published as nitrodb. The rename aligns the public package name with what it is — an append-only-file (AOF) fast-path distribution of NEDB. Same engine, same speed, new name.

If aof-db just saved your afternoon, ⭐ it and tell a friend.


aof-db is a distribution of the NEDB engine, tuned for speed + simplicity (benchmarks measured on commodity hardware — yours will vary). Engine development: Eth-Interchained/nedb. © Interchained LLC.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aof_db-2.6.0.tar.gz (83.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aof_db-2.6.0-py3-none-any.whl (88.0 kB view details)

Uploaded Python 3

aof_db-2.6.0-cp38-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

aof_db-2.6.0-cp38-abi3-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file aof_db-2.6.0.tar.gz.

File metadata

  • Download URL: aof_db-2.6.0.tar.gz
  • Upload date:
  • Size: 83.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for aof_db-2.6.0.tar.gz
Algorithm Hash digest
SHA256 6d71fc3097a7707b953dcd87c29ff47029dbfecf430cf94070f4447d272397a7
MD5 cd0a2cdacbbfbe1c8bd5ca92422cabaa
BLAKE2b-256 0f792eb0bdc04d27c25fe36881714076fca8ee07c077ffa93ecf352ed638f377

See more details on using hashes here.

File details

Details for the file aof_db-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: aof_db-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 88.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for aof_db-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68321bb0f6ce2f2e6c654042cb932aa995314e6ae1177bb970c71aa6bdef56a4
MD5 3ecf61c908b6e22caba2c59e3c1769fc
BLAKE2b-256 06f54d144f330e7a45667ac55b0d8ee2062bb2fd7af6d329c40cbe5873a4f6b0

See more details on using hashes here.

File details

Details for the file aof_db-2.6.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aof_db-2.6.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 236ef00cd1c00332c92113c4450fa0f6a24172f7625fdd399586e9d62cd8c808
MD5 49b927b81805e66f114e18534c24534d
BLAKE2b-256 132dd1ca3e4a73fa2cd67369b6c9207aef2311779631ab2737a36e1265a40d1e

See more details on using hashes here.

File details

Details for the file aof_db-2.6.0-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for aof_db-2.6.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0bf9062a012b81465a63bd579eef2b2f21a769365e92d2c944c0e1f76e08ceb6
MD5 0144b474f396c4a21fa5c8850d21b83e
BLAKE2b-256 28f92696465bf18547e17d7d4d050d586cbe3b182e79661eb59e57a861bf7e77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page