⚡ aof-db
The embedded database that goes brrr.
Stupid-fast, append-only, zero-server storage you drop into your app and forget about.
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
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 8.8.9
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-8.8.9.tar.gz | 88.1 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aof_db-8.8.9-py3-none-any.whl | Python 3 | none | any | Details |
| aof_db-8.8.9-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
| aof_db-8.8.9-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-8.8.9.tar.gz
| Download URL | aof_db-8.8.9.tar.gz |
|---|---|
| Size | 88.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acf10a85c0d7ec2b37eb895a97443c573f05f035526e2110eb73b87724af607a
|
|
BLAKE2b-256 checksum How to use checksums |
69c5da9bd13fd16c8b0849b6c7901879462cd55d249d4995675c8a9e7d127002
|
| 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-8.8.9-py3-none-any.whl
| Download URL | aof_db-8.8.9-py3-none-any.whl |
|---|---|
| Size | 95.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ddf01d931cd491f5d3a7230d686433e69af9d16615853e2ebbec7612dcfa5e6
|
|
BLAKE2b-256 checksum How to use checksums |
252324b29c175eb466b9febdb7c7dc2947581f3aaa50fc3b3076bb738c21f615
|
| 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-8.8.9-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | aof_db-8.8.9-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 |
9e821fe9588d6ece96c0451f6d11d7a37d0b5b212c38cf9b16290fe1b7fa1730
|
|
BLAKE2b-256 checksum How to use checksums |
ac70d19204ea40b3b036ddb94fc6bdadf7bac1c3c5af39bead5b9eec627c4121
|
| 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-8.8.9-cp38-abi3-macosx_10_12_x86_64.whl
| Download URL | aof_db-8.8.9-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 |
54725dd4dc2e9184bc5b14946cfe811e01d1752de8510fc885ce33aaf6ce73b1
|
|
BLAKE2b-256 checksum How to use checksums |
81cf3390f6383ca8a418426e2a0c53a02a32c50238b2527f8d28b32830a64c63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|