NEDB — a versioned, self-compressing, time-traveling embedded database (replay-protected, idempotent, relational, searchable) with durable AOF persistence and a server daemon (nedbd).
Project description
⚡ nitroDB
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
nitroDB 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 CryptoDB — 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 nitrodb # pip install nitrodb # cargo add nitrodb
import { NedbCore } from "nitrodb";
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."
If nitroDB just saved your afternoon, ⭐ it and tell a friend.
nitroDB 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nitrodb-2.4.3.tar.gz.
File metadata
- Download URL: nitrodb-2.4.3.tar.gz
- Upload date:
- Size: 83.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a17466c95b08fe6efda02df0bb0823ed8b2e0bb3a12adc4f86d0bfbe7c8d32e
|
|
| MD5 |
2b3feb83080e1c457a18a5136d39e329
|
|
| BLAKE2b-256 |
d31277f0d18b75df7f11d8fd5a1b0210ab2ac0e777e59d73cc23a335f61b8cb7
|
File details
Details for the file nitrodb-2.4.3-py3-none-any.whl.
File metadata
- Download URL: nitrodb-2.4.3-py3-none-any.whl
- Upload date:
- Size: 88.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
769582b63067034547dfbe2f9e28615af1140274d6f605a4dde22a7f0e61e6cc
|
|
| MD5 |
b4d096dbbdec4df40a5b5f8c012ef0b2
|
|
| BLAKE2b-256 |
64cfe949fc6e78f43d3c93439c805f85e14733f38d4c2eb45490e09266b39795
|
File details
Details for the file nitrodb-2.4.3-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: nitrodb-2.4.3-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b038b9425750de0199d18855a60c6988f1c9138095dea7c5956fba1cc42affe9
|
|
| MD5 |
2e70bb7c7c0a63c20f43c6d1f947dce2
|
|
| BLAKE2b-256 |
d3306c09a6045d496685daf6cb09f00e1feded194da8fc71ef5fd5ccba83acc0
|
File details
Details for the file nitrodb-2.4.3-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: nitrodb-2.4.3-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d704aa69d26994e80a10fd91f9f85d85c77991075623b6058b55e641d359df5
|
|
| MD5 |
bd2dff1bdf1b5c26e2ce60189222f23d
|
|
| BLAKE2b-256 |
95f8cdfa58382813416a98d1ae012d989ce22f68fe42ca37c4b73f7b1ad90b54
|