Skip to main content

⚡ 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.

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

Uploaded Python 3

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

aof_db-2.7.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.7.0.tar.gz.

File metadata

  • Download URL: aof_db-2.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 2a01b553926e18f6746f8aec1909ad3769f68c039e47213de687480156972561
MD5 bb76bac70e360ab02cd9b75a9ab283a0
BLAKE2b-256 27fe4546c05bded7a91ad0e0faf33702a07d925939fa336b0b0131daa5947380

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aof_db-2.7.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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7bc936ab6e8179c31eef1ecc74d1929d43e0466908ef52ac6f8ca5ae9c85d7b
MD5 68875c012eaafe96e2f67a9fb238be5f
BLAKE2b-256 f3cd9830ffc1d6e3ec008751a7dee9b8b862a1d5a1d5008eb6ff0ac156d958a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aof_db-2.7.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a6dca273776f737c64849477ff4fc004824a68686f24db6a68a4792fbf8dbbfa
MD5 59acfee44b1d13e072821b7ea3f9d715
BLAKE2b-256 b35fbff4378a8a3c427ce598e7f59a4940769f895b46d646c6c499ae05742852

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aof_db-2.7.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bea075a640ce00d3bb7e07d7bb7c2c491024fdc9d64317017ce353cf8b9d9ba6
MD5 35ee0798b2abf6b95111058947573885
BLAKE2b-256 ec2aac1d9444d3eadd44f9ce925893e35db299c25b7e0f0ebdbf414ed26b7f9f

See more details on using hashes here.

Release history Release notifications | RSS feed

2.8.2

4 files

2.8.1

4 files

2.8.0

4 files

2.7.2

4 files

2.7.1

4 files

This release

2.7.0 This release

4 files

2.6.3

4 files

2.6.2

4 files

2.6.1

4 files

2.6.0

4 files

2.5.55

4 files

2.5.45

4 files

2.5.44

4 files

2.5.43

4 files

2.5.34

4 files

2.5.2

4 files

2.5.1

4 files

2.5.0

4 files

2.4.468

4 files

2.4.68

2 files

Supported by

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