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.5.44.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.5.44-py3-none-any.whl (88.1 kB view details)

Uploaded Python 3

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

aof_db-2.5.44-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.5.44.tar.gz.

File metadata

  • Download URL: aof_db-2.5.44.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.5.44.tar.gz
Algorithm Hash digest
SHA256 1baf820ef260a3cd1ca81568145c0843ca1444eaa505ff195d4f14eae6b0753f
MD5 aa8a7259080102ffbe6e7b3509c10f50
BLAKE2b-256 de2e7fcc632e3baf4699e92c501e246fe9457d89f17c79d93d132a1577a855c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aof_db-2.5.44-py3-none-any.whl
  • Upload date:
  • Size: 88.1 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.5.44-py3-none-any.whl
Algorithm Hash digest
SHA256 cf18878b328738e716f698e898c56ab0581aba3aa683df400ad10b2dd2b3b8b3
MD5 ea5e4c0dc91c7578e967784a30375418
BLAKE2b-256 7fd1974f1351a56b152b56ee87ec73ad14e5b7bef3bbd6cb5e40dc2e355090e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aof_db-2.5.44-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7dc86296a1aaf5fe85c635dcb0bc34ad2652bdeb3678b20d39d1fa0c6e4fb673
MD5 3aa7f457ba8f8959ae7e649633afe13b
BLAKE2b-256 9392f82c88f0df23a7bfe9c6f92dffabbeefc739cfffc779c8479a8df1cbfdc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aof_db-2.5.44-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 03d993bded13b4a82a6c52a131a2fb135506f80b39b28d436e99ae2a789a5d3c
MD5 a5039f4c84c85320978c2a493cd3c3a0
BLAKE2b-256 498b97bf38c5578925a072abf956fb05c325dddaa797ea0d23bb321a005379f5

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