approvedcompleteApache-2.0
In-process hiqlite via a napi-rs native addon
002-in-process-hiqlite
The hiqlite runtime embedded in the Node process: a napi-rs cdylib (@enrahitu/hiqlite-native) exposing init/health, TTL'd KV, and counters, plus the thin `hiq` Encore service that starts the node at service load and fronts the addon over HTTP. Replaces Redis for cache and rate-limit state with zero extra processes.
- Depends on
- Establishes
- addon/ (directory)
- backend/hiq/ (directory)
- Sections
- 002: In-process hiqlite
- 1. Purpose
- 2. Territory
- 3. Behavior
- 4. Out of scope
- 5. Publishing (amended by spec 018, 2026-07-14)
- 6. Phase A seam (amended by spec 021, 2026-07-20)
- Source
- specs/002-in-process-hiqlite/spec.md @ dc4c9237e12aas of 2026-07-21 ยท shard 00c18fdc8653