nedb-engine 16.18.0 → 20.21.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/nedb.linux-arm64-gnu.node +0 -0
- package/nedb.linux-arm64-musl.node +0 -0
- package/nedb.linux-x64-gnu.node +0 -0
- package/nedb.linux-x64-musl.node +0 -0
- package/nedb.win32-x64-msvc.node +0 -0
- package/nedbd-v2-linux-arm64 +0 -0
- package/nedbd-v2-linux-arm64-musl +0 -0
- package/nedbd-v2-linux-x64 +0 -0
- package/nedbd-v2-linux-x64-musl +0 -0
- package/nedbd-v2-win-x64.exe +0 -0
- package/nesql-linux-arm64 +0 -0
- package/nesql-linux-arm64-musl +0 -0
- package/nesql-linux-x64 +0 -0
- package/nesql-linux-x64-musl +0 -0
- package/nesql-win-x64.exe +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -127,6 +127,12 @@ traversable — and the same hash chain that keeps it honest also protects it.
|
|
|
127
127
|
|
|
128
128
|
---
|
|
129
129
|
|
|
130
|
+
## Boot hydration
|
|
131
|
+
|
|
132
|
+
Set `NITRO_NEDB_HYDRATION=true` in the process that opens the database. On an exclusive durable Rust open, the engine loads current document IDs and live records into RAM before open returns. Embedded clients and the HTTP daemon use this same open path. Writes refresh the resident state and deletes remove the live entry. The DAG retains the version history on disk.
|
|
133
|
+
|
|
134
|
+
In the Python engine, ordinary replay already builds resident state. A portal open with hydration enabled loads the sealed checkpoint into the in-memory version store before replaying the tail. Size memory for the live dataset and allow time at startup to read it. The flag defaults to off.
|
|
135
|
+
|
|
130
136
|
## Portals — data stays on disk, access is immediate · *new*
|
|
131
137
|
|
|
132
138
|
A database should not need RAM proportional to its history just to *open*.
|
|
Binary file
|
|
Binary file
|
package/nedb.linux-x64-gnu.node
CHANGED
|
Binary file
|
package/nedb.linux-x64-musl.node
CHANGED
|
Binary file
|
package/nedb.win32-x64-msvc.node
CHANGED
|
Binary file
|
package/nedbd-v2-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|
package/nedbd-v2-linux-x64
CHANGED
|
Binary file
|
package/nedbd-v2-linux-x64-musl
CHANGED
|
Binary file
|
package/nedbd-v2-win-x64.exe
CHANGED
|
Binary file
|
package/nesql-linux-arm64
CHANGED
|
Binary file
|
package/nesql-linux-arm64-musl
CHANGED
|
Binary file
|
package/nesql-linux-x64
CHANGED
|
Binary file
|
package/nesql-linux-x64-musl
CHANGED
|
Binary file
|
package/nesql-win-x64.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nedb-engine",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "NEDB
|
|
3
|
+
"version": "20.21.22",
|
|
4
|
+
"description": "NEDB — hash-chained, time-traveling, bi-temporal embedded database with Rust native core. SQL, Redis, MongoDB adapters. Causal Write Provenance. RESP2 wire protocol. Opt-in boot hydration (NITRO_NEDB_HYDRATION=true) loads the live dataset into RAM at open for millisecond reads.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|