⚡ 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 3.2.1
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-3.2.1.tar.gz | 81.7 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aof_db-3.2.1-py3-none-any.whl | Python 3 | none | any | Details |
| aof_db-3.2.1-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
| aof_db-3.2.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-3.2.1.tar.gz
| Download URL | aof_db-3.2.1.tar.gz |
|---|---|
| Size | 81.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27578991a18619e5a6eb751bf469181a6c13f569ceded767c70f3ea123ce0ece
|
|
BLAKE2b-256 checksum How to use checksums |
5e0ae053d5494803455d93e2727a5ee15ab127202ccb9cf718d55e1502defd69
|
| 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-3.2.1-py3-none-any.whl
| Download URL | aof_db-3.2.1-py3-none-any.whl |
|---|---|
| Size | 86.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ccb82ccc051a561b54e8201f7a40e07ee2c8a3b6ffa9c1e802ded652c019c3c
|
|
BLAKE2b-256 checksum How to use checksums |
e3fe2eaee365fbce180b8149969b7b54b9ead73bfeadbf2dfd3708a5e66b8345
|
| 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-3.2.1-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | aof_db-3.2.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 |
f409d743610881047c6efd4ca1e85de26951703fbea04d2a9899cc314339fe28
|
|
BLAKE2b-256 checksum How to use checksums |
15241678222abddc5366c1fa6da891dbd2b1e693a5079c622f90d625d5b4bdca
|
| 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-3.2.1-cp38-abi3-macosx_10_12_x86_64.whl
| Download URL | aof_db-3.2.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 |
7c7e24f8ca6ec1186f6e1f66a03a28b9ab6f60fa9e15f825e306e27cd51c0344
|
|
BLAKE2b-256 checksum How to use checksums |
ddd00c534401fcb460d8e7841eb45986d137d5d41907df11bf900674ef3a142c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|