reddb-cli 0.1.2-next.71 → 0.1.2-next.79

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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -289,13 +289,19 @@ Same storage format across all three. Start embedded, scale to server, expose to
289
289
 
290
290
  RedDB uses multiple optimization techniques for fast queries at scale:
291
291
 
292
+ - **Result Cache** -- identical SELECT queries return in <1ms; auto-invalidated on INSERT/UPDATE/DELETE (30s TTL, max 1000 entries)
293
+ - **Hot Entity Cache** -- `get_any(id)` lookups served from an LRU cache (10K entries), O(1) instead of scanning all collections
294
+ - **Binary Bulk Insert** -- gRPC `BulkInsertBinary` with zero JSON overhead, protobuf native types -- 241K ops/sec
295
+ - **Concurrent HTTP** -- thread-per-connection model; each request handled in its own OS thread
296
+ - **Parallel Segment Scanning** -- sealed segments scanned in parallel via `std::thread::scope`; auto-detects single-core and skips parallelism
292
297
  - **Hash Join** -- O(n+m) joins instead of O(n*m), auto-selected for large datasets
293
- - **Parallel Segment Scanning** -- sealed segments scanned in parallel via rayon
294
298
  - **Lazy Graph Materialization** -- only loads reachable nodes instead of full graph
295
299
  - **Pre-filtered Vector Search** -- metadata filters applied before HNSW indexing
296
300
  - **Index-Assisted Scans** -- bloom filter + hash index hints for WHERE clauses
297
301
  - **Column Projection Pushdown** -- only materializes SELECT columns
298
302
  - **Query Plan Caching** -- LRU cache with 1h TTL for repeated queries
303
+ - **Batch Entity Lookup** -- multi-entity fetches resolved in a single pass
304
+ - **Background Maintenance Thread** -- backup scheduling, retention, and checkpoint run off the hot path
299
305
 
300
306
  ---
301
307
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reddb-cli",
3
- "version": "0.1.2-next.71",
3
+ "version": "0.1.2-next.79",
4
4
  "description": "JavaScript/TypeScript SDK for RedDB - unified multi-model database",
5
5
  "type": "commonjs",
6
6
  "main": "./sdk/red-sdk.js",