⚡ 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.6
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.6.tar.gz | 83.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aof_db-2.8.6-py3-none-any.whl | Python 3 | none | any | Details |
| aof_db-2.8.6-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
| aof_db-2.8.6-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-2.8.6.tar.gz
| Download URL | aof_db-2.8.6.tar.gz |
|---|---|
| Size | 83.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13d08ffc6fbb7601b59214a7276a97e35986ba65c83413f8f56aad31a3b26c34
|
|
BLAKE2b-256 checksum How to use checksums |
ff35d1d098a7d3f3ea72158fd2ddee0a19b409f320aee4d9555d4dfc0461f9e2
|
| 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.6-py3-none-any.whl
| Download URL | aof_db-2.8.6-py3-none-any.whl |
|---|---|
| Size | 88.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36e82b9596c8fe2a76cd58b4fb1c4f259e25843e728b26eb7eb567c79b59fef4
|
|
BLAKE2b-256 checksum How to use checksums |
bb619cf1e67cc380dc00823e8023b30939297c46786d8d49cb10b60ba9155d75
|
| 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.6-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | aof_db-2.8.6-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 |
cda10e17099e121308abe9f1c7abec4879686d69a7b6c665788ea8097e38701f
|
|
BLAKE2b-256 checksum How to use checksums |
dd21b62f0d7b626d5201f5bf2f48b8ef2de09697ed861cdbd0e79879de83ae3a
|
| 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-2.8.6-cp38-abi3-macosx_10_12_x86_64.whl
| Download URL | aof_db-2.8.6-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 |
65f4337624093cf2876ab6a5dda080e1960db160d9ef903b8648211e90529992
|
|
BLAKE2b-256 checksum How to use checksums |
9b65ff0e25d79a0dffa65f82ab1cbff6174372ce4ba21413a3c223fe6dd44226
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|