@push.rocks/smartdb 2.6.0 → 2.6.2
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/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -46,13 +46,13 @@ SmartDB uses a **sidecar binary** pattern — TypeScript handles lifecycle, Rust
|
|
|
46
46
|
┌──────────────────────────────────────────────────────────────┐
|
|
47
47
|
│ Your Application │
|
|
48
48
|
│ (TypeScript / Node.js) │
|
|
49
|
-
│
|
|
50
|
-
│ │ SmartdbServer
|
|
51
|
-
│ │ or LocalSmartDb │
|
|
52
|
-
│
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
│ ┌──────────────────┐ ┌───────────────────────────┐ │
|
|
50
|
+
│ │ SmartdbServer │─────▶│ RustDbBridge (IPC) │ │
|
|
51
|
+
│ │ or LocalSmartDb │ │ @push.rocks/smartrust │ │
|
|
52
|
+
│ └──────────────────┘ └───────────┬───────────────┘ │
|
|
53
|
+
└────────────────────────────────────────┼─────────────────────┘
|
|
54
|
+
│ spawn + JSON IPC
|
|
55
|
+
▼
|
|
56
56
|
┌──────────────────────────────────────────────────────────────┐
|
|
57
57
|
│ rustdb binary │
|
|
58
58
|
│ │
|
|
@@ -60,7 +60,7 @@ SmartDB uses a **sidecar binary** pattern — TypeScript handles lifecycle, Rust
|
|
|
60
60
|
│ │ Wire Protocol│→ │Command Router│→ │ Handlers │ │
|
|
61
61
|
│ │ (OP_MSG) │ │ (40+ cmds) │ │ Find,Insert.. │ │
|
|
62
62
|
│ └──────────────┘ └──────────────┘ └───────┬───────┘ │
|
|
63
|
-
│
|
|
63
|
+
│ │ │
|
|
64
64
|
│ ┌─────────┐ ┌────────┐ ┌───────────┐ ┌──────┴──────┐ │
|
|
65
65
|
│ │ Query │ │ Update │ │Aggregation│ │ Index │ │
|
|
66
66
|
│ │ Matcher │ │ Engine │ │ Engine │ │ Engine │ │
|
package/ts/00_commitinfo_data.ts
CHANGED