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.

PyPI npm crates.io Python licence free under $1M

One version across npm · PyPI · crates.io — every release ships aligned.


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.

Metadata

Release files for aof-db 5.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aof-db 5.0.1
File Size Uploaded
aof_db-5.0.1.tar.gz 88.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for aof-db 5.0.1
File Interpreter ABI Platform
aof_db-5.0.1-py3-none-any.whl Python 3 none any Details
aof_db-5.0.1-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details
aof_db-5.0.1-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details

Total release size: 3.1 MB

Release files / aof_db-5.0.1.tar.gz

Download URL aof_db-5.0.1.tar.gz
Size 88.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5b86ca5ab4098095d2e68a2ba8deba3d0191b6f6825260f8922aa368e97e7670
BLAKE2b-256 checksum
How to use checksums
8ff08a70f4c3fd35bb1b712b79eda7e280aa0596055cba283b6ff3a062bd23f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / aof_db-5.0.1-py3-none-any.whl

Download URL aof_db-5.0.1-py3-none-any.whl
Size 95.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d532f90041bc1cea80ded2c7730fea155907097eea378b236a240526ceb23ef
BLAKE2b-256 checksum
How to use checksums
c216e1ccd6a248e2d2802d3e1e9a934c68840bfd12bd7cfe73e8f57bd9a6ede2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / aof_db-5.0.1-cp38-abi3-macosx_11_0_arm64.whl

Download URL aof_db-5.0.1-cp38-abi3-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0f991b20d41b42eddaaee12ed03946ef480b686e43d7303554be2441e3111f09
BLAKE2b-256 checksum
How to use checksums
61353bc6b68b366f68f5009b7794ebf55739bcb4978763df870fa3238cd49444
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / aof_db-5.0.1-cp38-abi3-macosx_10_12_x86_64.whl

Download URL aof_db-5.0.1-cp38-abi3-macosx_10_12_x86_64.whl
Size 1.5 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
418f794e1be0b1cb6388fa1e192f5b9e5931547389d4dd0c5f719505fa31b6f1
BLAKE2b-256 checksum
How to use checksums
6bbe1035fc74fa93b94b2cedabd075658f7894b508969f2cc0faa42d9b8d5a39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release history Release notifications | RSS feed

9.0.2

4 release files

9.0.1

4 release files

9.0.0

4 release files

8.8.9

4 release files

8.8.8

4 release files

8.0.0

4 release files

7.2.0

4 release files

7.0.0

2 release files

6.1.0

4 release files

6.0.0

4 release files

This release

5.0.1 This release

4 release files

5.0.0

4 release files

4.3.2

4 release files

4.3.0

4 release files

4.2.0

4 release files

4.1.1

4 release files

4.1.0

4 release files

4.0.0

4 release files

3.3.1

4 release files

3.3.0

4 release files

3.2.2

4 release files

3.2.1

4 release files

3.2.0

4 release files

3.1.0

4 release files

3.0.0

4 release files

2.8.6

4 release files

2.8.4

4 release files

2.8.3

2 release files

2.8.2

4 release files

2.8.1

4 release files

2.8.0

4 release files

2.7.2

4 release files

2.7.1

4 release files

2.7.0

4 release files

2.6.3

4 release files

2.6.2

4 release files

2.6.1

4 release files

2.6.0

4 release files

2.5.2

4 release files

2.5.1

4 release files

2.5.0

4 release files

2.4.68

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page