The Joule Stack: Energy-Aware Computing from Database to Search
February 24, 2026 full-stack retrieval whitepaper uniting JouleDB (B-tree + 10,000-bit Kanerva hyperdimensional SDM), 28-provider float-free Verity search, 16-vendor Joule-LLM, an 11-layer cascade, and Three-Phase Energy Receipts.
Temporal & Archival Scope: Era 0 Historical Whitepaper (Originally dated February 24, 2026; verbatim historical summary followed below by dated November 25, 2026 Errata & Related Work Addendum) · Canonical OpenIE Chronicle Entry: https://blog.openie.dev/posts/wp-joule-stack-database-to-search/
Provenance & Telemetry Hygiene: Signed Provenance · Self-Checked (automated OpenIE internal gates; not externally peer-reviewed) · Energy Class:
reported_j(measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered— Verification, Licensing & AI-Use Disclosure · Glossary & Non-Mixing Rules).
Part I: Contemporary Historical Summary (As Written in February 2026)
Historical Source Provenance (Original Date: February 24, 2026): David Jean Charlot, PhD · Open Interface Engineering. Preserved from the February 24, 2026
joule-search/jouledbfull-stack retrieval whitepaper.
Architecture: Five Systems Forming “The Circle”
Following our February 17, 2026 essay on polyglot database write amplification—where a single ingested document is routinely serialized five times across relational, full-text, vector, graph, and cache engines—the February 24, 2026 Joule Stack whitepaper specified five Rust 2024 components sharing a single energy-receipt protocol:
1. JouleDB : 4 KB-page B-tree + `cf:name\x00key` column families + 10,000-bit Kanerva SDM / VSA
hyperdimensional associative index + IOKit/RAPL `OperationEnergyTracker`
2. Joule-Search : "Verity" — 20 Rust crates, deterministic `QID = BLAKE3(RFC 8949 canonical CBOR)`,
float-free `u16` [0, 10000] fixed-point trust weights across 28 federated providers
3. Joule-LLM : 16 direct-to-vendor inference adapters (incl. Groq LPU, Cerebras WSE-3, SambaNova RDU)
with `complete_eco()` circuit breakers & FLOP*PUE analytical remote estimators
4. Joule-Cascade : 11-layer cognitive engine (L0-L4 execution ladder + L5-L10 damped meta-controllers)
5. Joule-WASM : Browser-resident IndexedDB canonical CBOR store for zero-network offline recall
Float-Free Determinism & 28-Provider Corroborated Search (“Verity”)
IEEE-754 floating-point rankers can exhibit cross-architecture tie-breaking drift (x86_64 vs. AArch64 vs. wasm32 FMA contraction), breaking content-addressed cache equivalence. Verity (Joule-Search) normalized queries via QID = BLAKE3(canonical RFC 8949 CBOR) and scored results across 28 search providers (14 keyless open/academic indexes including Crossref, OpenAlex, ArXiv, PubMed, EuropePMC, Semantic Scholar, Wikidata, and Wikipedia + 14 commercial/web APIs) using u16 [0, 10000] integer basis points over a 9-dimensional trust vector (authority, recency, primary-source provenance, citation velocity, and cross-source corroboration, applying a +10% integer boost when independent academic and web indexes corroborated a claim).
The L0–L4 Execution Ladder & Three-Phase Energy Receipts
Across the L0–L4 execution tiers of Joule-Cascade (supervised by L5–L10 70/30 integer-damped threshold governors and session joule caps), the February 24 whitepaper reported typical per-step energy figures alongside their measurement phase:
- Cascade Layer:
L0Exact QID Cache · Substrate / Operation:JouleDBB-tree +BLAKE3CBOR hit · Typical Per-Step Energy (Feb 2026):~12 µJ· Three-Phase Receipt Field:Client: MEASURED(RAPL/IOKit) - Cascade Layer:
L1Local BM25 + VSA · Substrate / Operation: EmbeddedTantivy+10,000-bit Kanerva Hamming scan · Typical Per-Step Energy (Feb 2026):~890 µJ· Three-Phase Receipt Field:Client: MEASURED(RAPL/IOKit) - Cascade Layer:
L228-Provider Federation · Substrate / Operation: Async HTTP/QUIC fan-out + late-interaction rerank · Typical Per-Step Energy (Feb 2026):~344,000 µJ(0.344 J) · Three-Phase Receipt Field:Client: MEASURED+Network: CALCULATED(14.4 nJ/B) - Cascade Layer:
L3LlmCheapSynthesis · Substrate / Operation: Small/fast remote inference provider (complete_eco()) · Typical Per-Step Energy (Feb 2026):~2,001,000 µJ(2.001 J) · Three-Phase Receipt Field:Remote: ESTIMATED(FLOP x PUE) - Cascade Layer:
L4Cross-Model Audit · Substrate / Operation: Multi-vendor verification on contested claims · Typical Per-Step Energy (Feb 2026):~4,000,000 µJ(4.000 J) · Three-Phase Receipt Field:Remote: ESTIMATED(FLOP x PUE)
Crucially, the Three-Phase Energy Receipt returned three disjoint fields on every query rather than summing incompatible telemetry sources:
Client(MEASURED): Local hostRAPL/NVML/hwmon/IOKithardware energy counters (±5–10%counter tolerance);Network(CALCULATED): Payload wire bytes multiplied by a14.4 nJ/bytetransport boundary constant;Remote(ESTIMATED):active_watts × PUE × latency / batch_concurrencyper remote accelerator class.
November 25, 2026 Errata, Related Work, and Evolution Addendum
Methods, Epistemic Mapping & Licensing Scope Box (reported_j + est_j)
- Mapping February 2026 Three-Phase Receipts onto the November 2026 4-Class Lattice:
- What the February 24 whitepaper called
Client: MEASURED(RAPL/IOKit/NVMLOS-exposed counters) corresponds in our November 2026 taxonomy toreported_j(on-chip counter telemetry), reservingmeasured_jstrictly for external inline DC hardware shunts (INA226/PowerZ/ oscilloscope shunt benches). BothNetwork: CALCULATED(14.4 nJ/B, an analytical router/NIC intensity constant that varies widely across Wi-Fi, metro fiber, and submarine hops) andRemote: ESTIMATED(2.001 Jand4.000 J) belong toest_j. - Non-Mixing Note: Because
~12 µJ(L0localreported_jamortized over warm batch lookups) and2.001 J(L3remoteest_j) come from distinct epistemic classes, we report both numbers side-by-side with their provenance tags rather than claiming a single collapsed166,750xphysical-shunt ratio.
- What the February 24 whitepaper called
- Artifact & Licensing Status (
BSL-1.1/ Private Core Mirrors): PublicJouleDBbinary releases and client interfaces atopenIE-dev/jouledbare distributed under BSL-1.1 (Business Source License 1.1). The full underlying storage, HDC, and Verity federated-search Rust workspaces reside in private mirrors (openIE-dev/jouledb-coreandopenIE-dev/joule-search— externally unreproduced).
Chronological Evolution Within OpenIE Research
- Refining Three-Phase Receipts Into the 4-Tier Non-Mixing Law: Adding inline DC shunt benches (
measured_j) on AMD Kria KV260 and NVIDIA Jetson Thor split physical board shunts above OS counters (reported_j), establishingmeasured_j ⊥ reported_j ⊥ est_j ⊥ unmetered. - Storage Hardening & Multi-Model Benchmarks (JouleDB v0.1/v0.2 & Eco-Database): Tested unified Copy-on-Write storage physics against polyglot persistence pipelines.
- Bounding Federated Fan-Out Tail Energy (Eco-Knowledge & Latency): Examined when parallel 28-provider network fan-out wastes tail-straggler energy unless governed by deadline- and joule-aware hedged cancellation.
Related Work & External References
- Kanerva, P. (1988). Sparse Distributed Memory. MIT Press; Kanerva, P. (2009). Hyperdimensional Computing: An Introduction to Computing in Distributed Representation with High-Dimensional Random Vectors. Cognitive Computation, 1(2), 139–159.
- Harizopoulos, S., Liang, V., Abadi, D. J., & Madden, S. (2009). Energy Efficiency: The New Holy Grail of Data Management Systems Research. CIDR 2009 — early database-systems call for per-query joule accounting and energy-proportional storage.
- Robertson, S., & Zaragoza, H. (2009). The Probabilistic Relevance Framework: BM25 and Beyond. Foundations and Trends in Information Retrieval, 3(4), 333–389 (implemented via Rust
Tantivy). - Khattab, O., & Zaharia, M. (2020). ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT. SIGIR 2020.
- Bormann, C., & Hoffman, P. (2020). RFC 8949: Concise Binary Object Representation (CBOR), Section 4.2 (Deterministic Encoding Requirements); O’Connor, J., Aumasson, J.-P., Neves, S., & Wilcox-O’Hearn, Z. (2020). BLAKE3: One Function, Fast Everywhere.
Changelog (2026-11-25)
- Separated Part I (February 24, 2026 contemporary stack summary, removing anachronistic
"today's"labels from Part I) from Part II (November 25, 2026 epistemic mapping, licensing provenance, and related work). - Explicitly documented
BSL-1.1licensing for publicJouleDBbinaries (openIE-dev/jouledb) and private repository status (unreproduced externally) foropenIE-dev/jouledb-coreandopenIE-dev/joule-search. - Mapped the February Three-Phase Receipt fields onto
reported_jvs.est_jwithout cross-class ratio mixing, and added citations to Kanerva (1988, 2009), Harizopoulos et al. (CIDR 2009), BM25 (2009), ColBERT (2020), RFC 8949 CBOR, and BLAKE3.
Canonical Provenance, Primary Artifacts & Independent Replication
- Canonical OpenIE Chronicle Entry: https://blog.openie.dev/posts/wp-joule-stack-database-to-search/
- Public Code / Replication Harness: https://github.com/openIE-dev/jouledb
- Signed Provenance · Self-Checked Disclosure & Licensing: JouleDB binaries/packages ship under BSL-1.1 at openIE-dev/jouledb, while full storage/search core sources reside in private mirrors (openIE-dev/jouledb-core and openIE-dev/joule-search — externally unreproduced). Full details at https://blog.openie.dev/verification/ and https://blog.openie.dev/glossary/.