rust-kgdb 0.6.53 → 0.6.54
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/CHANGELOG.md +34 -0
- package/README.md +39 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the rust-kgdb TypeScript SDK will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.6.54] - 2025-12-17
|
|
6
|
+
|
|
7
|
+
### Embedded Database: Game Changer
|
|
8
|
+
|
|
9
|
+
#### Added "No Installation Required" Section
|
|
10
|
+
Highlights the key advantage of rust-kgdb as an embedded database:
|
|
11
|
+
|
|
12
|
+
**Traditional Approach**:
|
|
13
|
+
- Install database server (RDFox, Virtuoso, Neo4j)
|
|
14
|
+
- Configure connections, ports, authentication
|
|
15
|
+
- Network latency on every query
|
|
16
|
+
- DevOps overhead
|
|
17
|
+
|
|
18
|
+
**rust-kgdb Embedded**:
|
|
19
|
+
- `npm install rust-kgdb` - that's it
|
|
20
|
+
- No server, no Docker, no configuration
|
|
21
|
+
- Zero network latency (same process)
|
|
22
|
+
- Deploy as single binary
|
|
23
|
+
|
|
24
|
+
**Why This Matters**:
|
|
25
|
+
- "SQLite for RDF" - embedded simplicity with full SPARQL power
|
|
26
|
+
- 449ns lookups - no network roundtrip
|
|
27
|
+
- Ship as one file
|
|
28
|
+
|
|
29
|
+
#### Scale Path: Embedded → Cluster
|
|
30
|
+
```
|
|
31
|
+
Embedded (single node) → Clustered (distributed)
|
|
32
|
+
npm install K8s deployment
|
|
33
|
+
No config HDRF partitioning
|
|
34
|
+
Millions of triples Billions of triples
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
5
39
|
## [0.6.53] - 2025-12-17
|
|
6
40
|
|
|
7
41
|
### Scalability & Deep Flashback Memory
|
package/README.md
CHANGED
|
@@ -106,6 +106,45 @@ Reproduce: `node concurrency-benchmark.js`
|
|
|
106
106
|
|
|
107
107
|
**Think of it as**: A knowledge graph database (Rust, native performance) with an AI agent runtime (JavaScript, WASM-sandboxed) on top. The database provides ground truth. The runtime makes it accessible via natural language with full security and audit trails.
|
|
108
108
|
|
|
109
|
+
### Game Changer: Embedded Database (No Installation)
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
113
|
+
│ TRADITIONAL APPROACH │
|
|
114
|
+
│ ─────────────────────── │
|
|
115
|
+
│ Your App → HTTP/gRPC → Database Server → Disk │
|
|
116
|
+
│ │
|
|
117
|
+
│ • Install database server (RDFox, Virtuoso, Neo4j) │
|
|
118
|
+
│ • Configure connections, ports, authentication │
|
|
119
|
+
│ • Network latency on every query │
|
|
120
|
+
│ • DevOps overhead for maintenance │
|
|
121
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
122
|
+
|
|
123
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
124
|
+
│ rust-kgdb: EMBEDDED │
|
|
125
|
+
│ ────────────────────── │
|
|
126
|
+
│ Your App ← contains → rust-kgdb (native addon) │
|
|
127
|
+
│ │
|
|
128
|
+
│ • npm install rust-kgdb - that's it │
|
|
129
|
+
│ • No server, no Docker, no configuration │
|
|
130
|
+
│ • Zero network latency (same process) │
|
|
131
|
+
│ • Deploy as single binary │
|
|
132
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**Why This Matters**:
|
|
136
|
+
- **SQLite for RDF**: Like SQLite replaced MySQL for embedded use cases
|
|
137
|
+
- **449ns lookups**: No network roundtrip - direct memory access
|
|
138
|
+
- **Ship as one file**: Your app + database = single deployable
|
|
139
|
+
|
|
140
|
+
**Scale When You Need To**: Start embedded, scale to cluster when required:
|
|
141
|
+
```
|
|
142
|
+
Embedded (single node) → Clustered (distributed)
|
|
143
|
+
npm install K8s deployment
|
|
144
|
+
No config HDRF partitioning
|
|
145
|
+
Millions of triples Billions of triples
|
|
146
|
+
```
|
|
147
|
+
|
|
109
148
|
---
|
|
110
149
|
|
|
111
150
|
## Core Concepts: What We Bring and Why
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rust-kgdb",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.54",
|
|
4
4
|
"description": "High-performance RDF/SPARQL database with AI agent framework. GraphDB (449ns lookups, 35x faster than RDFox), GraphFrames analytics (PageRank, motifs), Datalog reasoning, HNSW vector embeddings. HyperMindAgent for schema-aware query generation with audit trails. W3C SPARQL 1.1 compliant. Native performance via Rust + NAPI-RS.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|