⚡ 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
fsyncper 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 2.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aof_db-2.8.3.tar.gz | 83.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aof_db-2.8.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 171.6 kB
Release files / aof_db-2.8.3.tar.gz
| Download URL | aof_db-2.8.3.tar.gz |
|---|---|
| Size | 83.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e39b6c7da988e32037bf55bbf9e4b54e7f4021182a84aa40f1b967c5a742ad
|
|
BLAKE2b-256 checksum How to use checksums |
78a102943bdb99c36cebedfccc7cd9e35d67bf0d15581d45a7af8dcf52b74d40
|
| 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-2.8.3-py3-none-any.whl
| Download URL | aof_db-2.8.3-py3-none-any.whl |
|---|---|
| Size | 88.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2401b35eca4bc9326115582c45db9a5ab02a734317a2172f91770c0890257517
|
|
BLAKE2b-256 checksum How to use checksums |
3d7d3fa44e289e436b977e03a075a6b7fe53fd39ecae217cc13601f4daa2ebe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|