JouleDB (v0.31.0 — Pre-1.0 Research Preview)
An experimental energy-metered multi-model database, Lore-class binary-first Post-Git version control engine, and capability sandbox in Rust 1.100.1 (Apache-2.0 OR MIT) unifying Lore-Class Binary-First Fragmented CAS, Causal SuccessorLocks, Snapshot-Isolated Copy-on-Read Partition Fork, Two-Phase OBLITERATE, & Universal Software Coverage (two-mask Gear FastCDC [32/64/256 KiB] + canonical Fixed + sparse zero-Hole coalescing + recursive JLFL\x01 BLAKE3 trees + JLFP\x01 packfiles: 16 MiB .uasset mid-file edit reuses 98.97% chunks [111.7 KiB delta] in 25.82 ms / 3.39 J vs git commit 16.01 MiB / 377.94 ms / 50.67 J [146.71× less storage, 14.64× faster, 14.96× less RAPL J]; 1 GiB sparse VM disk stored in 297 B [3,615,292×] with 82.2 µs p50 WebDAV 206 4 KiB range reads; 0.199 ms causal SuccessorLocks + LockScopes; 0.174 ms 0-byte Copy-on-Read 16-byte Partition Fork solving Lore §26.1; 0.141 ms Two-Phase OBLITERATE; WorldLinks + WorldLayers + .lore/view sparse WorldViews; & 13 sys_world_* SQL tables), Scholar × JouleDB Mitotic Deformable Attractor Landscapes, JMS1\x01 NVMe Durability, OpenIE Research TV (WAI-1) Accessibility Seam, & RFC 9052 COSE_Sign1 (scholar-jouledb-ppd/1) Receipts (256 coarse roots auto-splitting into 4,086 fine mitotic sub-basins across 25,273 live multi-domain states [202.2× pruning, 0 secondary B-trees], 0.463 ms p50 [1.51× faster & 2.82× lower RAPL J than 2-index SQL LIKE at 25k scale], 345.0 ms JMS1\x01 BLAKE3 NVMe checkpoint + 404.0 ms cold reopen, & Ed25519 COSE_Sign1 "Signed Provenance · Self-Checked" PricePerDistinctionReceipts [0.736 mJ/state, 39.86 µJ/bit reported_j — 169.9×–223.6× lower energy than a 1.0 J LLM refusal]), 5-Sort WorldCommit (Database ≡ Capability OS ≡ Post-Git VCS: 0.133 ms BLAKE3 CoW FORK WORLD, 0.318 ms algebraic MERGE WORLD [merging VFS/CAS + SQL + FinancialLedger + KineticOutbox + Morphic Claims], 2.58 ms 8-candidate counterfactual WORLD TOURNAMENT SNAPSHOT [0.322 ms/candidate, (score, energy_uj) Pareto selection + single-winner merge, 7.36× faster & 7.39× less RAPL J than 8-way POSIX /bin/sh] + 0.110 ms cached WASI + 0.134 ms transactional jouledb_env .wasm sandbox, 2.85 GiB/s loopback NFSv3 [RFC 1813] + 0.082 ms RFC 4918 WebDAV HTTP 206), Lossless FastLanes JFL2 + ALP + FSST .jcol Columnar Analytics (7.45× compression [86.6% smaller] scanning at 185.3M–243.0M rows/s, 100M ClickBench in 139.2 MB RSS, 22 / 22 TPC-H SF=1.0 in 778.1 ms [2.96× geomean] & SF=10.0 [86.6M rows] in 4,567.3 ms [4.57 s, 4.16× geomean, 1.14 GB VmHWM]), Academic Frontier SQL (SIGMOD'24 RaBitQ USING rabitq [18.29×–32×, 1.000 Precision@10], 271.7×–293.8× faster CSR-Leapfrog WCOJ, 0.089 ms VLDB'23 DBSP ZSet), Core Banking & HOT Sharded SSI OLTP (4 / 4 Banking NVMe sweep vs PostgreSQL 16.16 + 8 / 8 TPS clean sweep over PostgreSQL 16.16 on 100-warehouse NVMe pgwire OLTP [11,238.0 TPS Simple & 10,069.6 TPS Pipeline]), Full-Stack Agentic AI (0.277 ms CoW dry-runs, JouleRoute 2.93 ms live 429 failover + 98k–106k docs/s /v1/rerank, Kinetic Ontology, 7-SDK Parity [Python, TypeScript, Go, Java, .NET, Swift/visionOS, C], & 97-tool Multi-Device MCP Studio), pgwire 0-xfail, and 5-node WAN elle-verified TCP Raft.
Pre-1.0 Status &
v0.31.0Release Summary (2026-12-01): Building on ourv0.6.0external-audit remediation (v1.0.0GA tag retracted/yanked, unrelated1.11M-LOCjoule-webcrate and syntheticfrontier_exam_routes.rsdeleted, 81 unverified low-BPW causal LLM exports pruned from Hugging Face) andv0.7.0–v0.30.0upgrades,v0.31.0ingests the architectural core ofEpicGames/lore(v0.14.0, MIT) while closing its multi-model database and cross-partition gaps — deliveringLoreWorldEngine(FastCDC32/64/256 KiB+ canonicalFixed+ sparse zero-Holecoalescing + recursiveJLFL\x01BLAKE3fragment trees +JLFP\x01packfiles:146.71×less storage &14.96×lower RAPL J thangit commiton16 MiB.uassetedits,82.2 µsp50sparseWebDAV 206reads over a1 GiBVM disk stored in297B,0.199 mscausalSuccessorLocks +LockScopes,0-byte Copy-on-Read16-byte Partition Fork solvingLore §26.1,0.141 msTwo-PhaseOBLITERATE,WorldLinks +WorldLayers +.lore/viewsparseWorldViews,13sys_world_*SQL tables, &97SOTA MCP tools) alongsidev0.30.0's mitoticScholar × JouleDB(25,273states),8 / 8NVMepgwireOLTP sweep (11,238 TPS), and2.96×TPC-H SF=1.0/4.57 sSF=10.0, with full updates across 5-deviceui://jouledb/studio.html(v0.31.0), all7official SDKs, mdBook, &jouledb.orgon Rust1.100.1(41 / 41deny(clippy::unwrap_used),0advisories):
Lore-Class Binary-First Fragmented CAS, CausalSuccessorLocks, Copy-on-Read Partition Fork, & Two-PhaseOBLITERATE(lore_world.rs,world_commit.rs,world_mount.rs,v031_sota_lore_universal_bench.json): Normalized two-mask GearFastCDC(32/64/256 KiB) +Zstd(0.14.5) reuses192 / 194chunks (98.97%) on an unaligned514-byte mid-file edit to a16 MiBbinary.uasset(114,391B stored in25.82 ms/3.39 Jvsgit commit's16.78 MBin377.94 ms/50.67 J—146.71×less storage,14.64×faster,14.96×less RAPL J);>= 64 KiBzero-Holecoalescing stores a1 GiBsparse VM disk in297physical CAS bytes (3,615,292×) and serves $O(\log N)$4 KiBNFSv3/WebDAV 206range reads at82.2 µsp50(12.76 mJ/read);ChainLatestcausalSuccessorLocks (0.199 msp50) +LockScopes guard unmergeable binary assets without blocking isolated experiment branches;CopyOnReadGrantforks16-bytePartitionworlds in0.174 mswith0payload bytes copied (solvingLore §26.1); two-phaseOBLITERATE(0.141 ms) permanently scrubs payload bytes while preserving Merkle commit hashes; andWorldLinks +WorldLayers +.lore/viewWorldViews +JLFP\x01packfiles (18.69 mscheckpoint /22.20 mscold reload) expandWorldCommitto13sys_world_*SQL tables and97SOTA MCP tools (candidly notingFastCDCGear rolling-hash scanning incurs~25.8 msCPU scan overhead on16 MiBincompressible blobs vsO(1)fixed-offset slicing).- Mitotic
25k-StateScholar × JouleDB,JMS1\x01NVMe Checkpoint,OpenIE Research TV(WAI-1), & 5th-SortWorldCommit(morphic_distinction.rs,scholar_morphic_routes.rs,world_commit.rs,v030_sota_triad_bench.json): Local mitotic sub-basin division (MITOSIS_THRESHOLD = 48, 16 fine children per split) scalesDeformableAttractorStoreto25,273live states (4,086active fine sub-basins,202.18×candidate pruning =125.0avg candidates,0secondary B-trees), flippingv0.28.0's2.3k-state wall-clock gap into a1.51×latency speedup (0.4628 msvs0.6992 msp50) AND2.82×lower RAPL query energy (48.85vs137.86 mJ/query) over 2-index SQLLIKE(candidly noting374.82 Jupfront VSA ingest vs27.11 Jplain SQLINSERT), checkpoints190.60 MB(JMS1\x01+BLAKE3) to NVMe in344.98 mswith403.98 mscold reopen (cold_reopen_root_verified_exact = true), ingestsOpenIE Research TVaccessible cuts (WCAG 2.2 AA,EAA,EU AI Act Art. 50, AD, Braille HTML), and branches/merges morphic states asWorldCommit's 5th algebraic sort across91SOTA MCP tools.8 / 8TPS Clean Sweep OverPostgreSQL 16.16on100-Warehouse NVMepgwireOLTP (mvcc.rs,amorphic_adapter/{mod,crud}.rs,oltp_pgwire_v030.json): Reclaimable-overwrite single-flight MVCC GC (reclaimable_versions+gc_running) + 64-bit per-tablesec_pending_mask+ non-livelockingread_for_tableeliminatec=8..16cross-table lock contention, winning all8 / 8concurrency × protocol TPS cells (invariant_verified = trueacross all runs):c=1..16Simple4,470.4 / 3,036.0 / 5,908.9 / 11,238.0 TPSvs PG161,083.2 / 2,506.2 / 5,070.8 / 9,997.3 TPS(4.13× / 1.21× / 1.17× / 1.12×faster,+138.3%atc=16overv0.27.0) andc=1..16Pipeline1,299.5 / 2,859.1 / 5,069.9 / 10,069.6 TPSvs PG161,225.5 / 2,600.0 / 4,939.3 / 9,900.1 TPS(1.06× / 1.10× / 1.03× / 1.02×faster,0errors; candidly noting PG16 still edges RAPLmJ/txnatc=8..16).- Sub-
3.00×(2.96×)TPC-H SF=1.0& All-Time Record4.57 s(4.16×Geomean)SF=10.0(alp_fsst.rs,disk_col_segments.rs,columnar_exec.rs,columnar_join.rs,tpch_sf1_v030.json,tpch_sf10_v030.json): SelectiveAlpCodec::decode_selected(O(|sel|)), selectiveJFL1decode, raw-date-firstQ06predicate order, 16-workerSingleFloatSumSlot(Q15), single-CRC32 pre-checks, andO(1)DenseKeyBits::popcntselectivity-orderedKeyInsemi-joins driveSF=1.0to778.1 ms(2.9607×geomean — first sub-3.00×in JouleDB history!,2.71×median,Q06: 6.32 ms,Q15: 8.24 ms[1.82×],113.7 MBRSS /357.7 MBVmHWM) andSF=10.0(86.6Mrows) to an all-time record4,567.3 ms(4.57 s,4.1617×geomean,4.07×median,Q06: 34.63 ms[3.60×faster thanv0.27.0!],Q15: 100.82 ms[2.48×faster!],Q19: 98.44 ms,Q21: 356.94 ms,668.0 MBRSS /1.14 GBVmHWM).- Counterfactual Branch Tournaments, Speculative Fan-Out, Diff & Replay Attestation (
world_commit.rs,world_mount.rs,v027_sota_triad_bench.json,v026_sota_triad_bench.json): EvaluatesK=8counterfactual Wasm strategies mutating the samePRIMARY KEY, computes(score, energy_uj)Pareto non-dominance (pareto_count = 3), merges only the winning branch via algebraicMERGE WORLD ... STRICT, and evaporates all 7 losers in2.5771 msp50(0.3221 ms/candidate,35.92 mJ/candidate—7.36×faster &7.39×lower RAPL J than 8-way POSIX/bin/sh, and2.86×faster than 8-way blind merge fan-out) across 9sys_world_*SQL virtual tables (sys_world_tournaments).JouleRoute4-Tier Quota Waterfall (93.0%RTKLog Compression, LSNLangCache) & Orthogonal Rank-96Harness Super-Adapters(joule_route.rs,harness_super_adapter.rs): CombinesBLAKE3+HMAC-SHA256encrypted multi-tier routing (LangCache -> OAuth Sub -> Local .jsyn -> Free-Tier Pool -> Metered BYOKunderThermoCapbudgets) with exact factorized $O((rows + cols) \cdot r_1 r_2)$ subspace orthogonality verification (cos = 0.0058acrossPi + OpenCode + HermesRank-32 adapters, composed to Rank-96in1.75 ms), two-passO-LoRAGram-Schmidt de-interference,.jsynbitplane fusion, andAsyncGRPOTRLJSONL rollout export.- Open-Source
Kinetic Ontology(OBJECT / LINK / ACTION),99.18%KiroScoped Power Savings,0.640 msOpenCodeSQL LSP &Lance Blob v2+ In-SQLAI_*(kinetic_ontology.rs,ducklake.rs,functions.rs): Wraps domain mutations in RBAC + compiled EARS (WHEN ... THE SYSTEM SHALL ...) preconditions with isolatedCREATE BRANCHdry-runs (34.12 msfull 5-step simulation +DIFF BRANCH+ teardown) and atomicFinancialLedgertransfers (8.64 ms), adds0.401 msSeek+SHA-256Lance Blob v2multimodal slicing (4,089×I/O amplification avoided), and executesAI_EMBED,AI_SIMILARITY,AI_FILTER,AI_RANK, andAI_COMPLETEdirectly inside SQL.4 / 4Regime Clean Sweep vsPostgreSQL 16.16on Durable NVMe Core BankingLEDGER(financial_ledger.rs,pgwire.rs): Adaptivetarget_waveCondvarcoalescing (0 nswait atc=1) +pgwireblock_in_place+32 MiBpre-allocatedJWL1WAL extents beatPostgreSQL 16.16(fsync=on) across every regime:c=13,424.5 TPS(9.21×faster,4.81×less J/tx),c=41,412.7 TPSpgwire/1,250.0 TPSHTTP (1.82×/1.61×faster — flippingv0.15.0'sc=4loss),c=163,919.0 TPSpgwire(1.37×faster over identicalpsycopg3TCP), andbatch=50091,316.1 TPS(1.69×faster;104,721 TPSpeak) with930k+SHA-256 chain entries verifiedvalid = true.2.18×FasterTPC-HSF=10.0(Q1013.57×Faster!) &42.4×Lower100MClickBench Post-Load RSS (columnar_join.rs,columnar_exec.rs): Primary-Key Functional-Dependency (PK-FD) group-by compression + 3-hop semi-join pushdown slashTPC-HSF=1.0to927.5 ms(3.61×geomean,Q10: 49.8 ms[8.02×faster]) andSF=10.0to7.44 s(6.41×geomean,Q10: 342.8 ms[13.57×faster],Q21: 573.2 ms[3.75×faster]), while zero-Arc<str>.jcolfilters & inlineHKey::K4/K5cut100MClickBench post-load RSS to139.2 MB(9.45 GBVmHWM), win8 / 43queries vs DuckDB2.0.1, and slashQ393.05×(297.0 ms) &Q324.04×(1,467.5 ms).- Decoupled Lock-Free
WalManagerOLTP (3.25×Fasterc=1,1.94×Fasterc=4,6,365 TPSc=16) +LTCBJoules-per-BitPareto Suite (wal.rs,ltcb_energy_pareto.py): Moving WAL serialization &fdatasyncoutsideAmorphicStore's write lock lifts100-warehouse NVMepgwireOLTP to3,698.0 TPS(c=1Simple,3.25×vs PG16),5,069.3 TPS(c=4Simple,1.94×vs PG16),2,486.1 TPS(c=4Pipelined,1.04×vs PG16), and6,364.8 TPS(c=16Pipelined), alongside0.553 msCREATE BRANCHand live RAPLenwik8/enwik9Joules-per-Bitmeasurements (2.83 nJ/bit&5.41 msSQL seekability vstufazip v2's~157.5M nJ/bit&7.29-daysequential decode). SeeCHANGELOG.md.
What Is Real & Verified Today (41 Workspace Crates · 810k LOC · 12,400+ Tests · 41 / 41 deny(unwrap_used) · 97 MCP Tools · 7 SDKs)
- Core Storage, Exact
Decimal128, Adaptive Group-CommittedJWL1Banking Ledger & 64-ShardSSI(joule-db-core,joule-db-local,joule-db-amorphic,joule-db-server):- Copy-on-Write B-tree pages, Cahill Serializable Snapshot Isolation (
SSI), 64-shardMvccStore(reclaimable_versionssingle-flight GC) +MvccTableStorage(JMVR\x01, zero-clone single-rowJWB1,JWU1delta NVMe WAL withWalManager::log_atomic_tx_fastdecoupled outsideRwLockWriteGuardand 64-bit per-tablesec_pending_mask), exact128-bitfixed-pointNUMERIC(38, s)(Decimal128), SQL-native double-entryFinancialLedger(32 MiBpre-allocatedJWL1binary CRC-32 WAL, adaptivetarget_waveCondvarcoalescer,pgwireledger_transfer()/ledger_transfer_batch(),i128minor units, multi-leg conservation, two-phase holds,idempotency_key, SHA-256financial_ledger.jwal, virtual tablesjouledb_ledger_*),SELECT ... FOR UPDATE [NOWAIT | SKIP LOCKED],ALP + FSSTcodecs (AlpCodec::decode_selected), andRaBitQ1-bitPOPCNTvectors.
- Copy-on-Write B-tree pages, Cahill Serializable Snapshot Isolation (
- Sub-Millisecond (
0.553 ms) Lazy CoW SQL Branching,Lore-Class Binary-First 5-SortWorldCommit, DurableJMS1\x01MitoticScholar × JouleDBCOSE_Sign1Receipts, &97-Tool Multi-Device Claude/MCP Apps Host (lore_world.rs,sql_branch_sandbox.rs,world_commit.rs,scholar_morphic_routes.rs,mcp_app_ui.rs,mcp_transport.rs):- Sub-millisecond (
0.553 msLinux /0.432 msmacOS) session-isolated SQL branches (CREATE/USE/DIFF/MERGE BRANCH),0.133 msFORK WORLD+LoreWorldEngine(FastCDC32/64/256 KiB+ canonicalFixed+ sparse zero-Holecoalescing + recursiveJLFL\x01BLAKE3trees +JLFP\x01packfiles +0.199 mscausalSuccessorLocks +LockScopes +0-byte Copy-on-Read16-byte Partition Fork + two-phaseOBLITERATE+WorldLinks +WorldLayers +.lore/viewsparseWorldViews +13sys_world_*virtual SQL tables) + 5-sort algebraicMERGE WORLD(VFS/CAS + SQL + FinancialLedger + KineticOutbox + Morphic Claims) +2.58 ms8-wayWORLD TOURNAMENT SNAPSHOT, durableJMS1\x01+BLAKE3mitoticDeformableAttractorStore(25,273states across4,086sub-basins,OpenIE Research TVWAI-1accessible seam) + RFC 9052COSE_Sign1(scholar-jouledb-ppd/1)PricePerDistinctionReceiptsigning & verification (MORPHIC VERIFY,MORPHIC CHECKPOINT,/api/v1/scholar/{verify,conformance,checkpoint,status,tv/ingest}), PostgreSQLpgvectorSQL (VECTOR(dim),<->/<=>/<#>,USING hnsw), strict agent blast-radius guardrails (42501+53200microjoule caps), crash-proofWORKFLOW CHECKPOINT/RESUME, and native 5-tab multi-deviceSEP-1865JouleDB Studio (ui://jouledb/studio.htmlv0.31.0) overjouledb mcp(stdio) andPOST /mcp(25core +72extended =97tools).
- Sub-millisecond (
- Out-of-Core
.jcolColumnar Analytics,PK-FDMulti-TableTPC-HJoins &pgwire(joule-db-query,joule-db-server):- PostgreSQL v3 wire listener (
block_in_place,psql,psycopg312/12,SQLAlchemy 24/4,node-pg5/5,JDBC7/7), owned-batch streaming ParquetCOPYspilling262,144-row.jcoldisk segments (139.2 MBpost-load RSS at100MClickBench rows;668.0 MBpost-load RSS &1.14 GBpeakVmHWMat86.6MTPC-Hrows),execute_segmented(43 / 43Official ClickBench at100Mrows with zero-Arc<str>eval_raw_text_filter, selectiveAlpCodec::decode_selected, & inlineHKey::K4/K5),columnar_join(22 / 22OfficialTPC-HatSF=0.1[1.99×],1.0[0.778 s,2.96×geomean], &10.0[4.57 s,4.16×geomean] withO(1)DenseKeyBits::popcntselectivity-orderedKeyInsemi-joins,PK-FDgroup-by key compression, 64-shardNeqExists, andCompactNumAgg), andDBSPZSet<T>incremental views.
- PostgreSQL v3 wire listener (
- 5-Node Multi-Host WAN & Local TCP Raft Consensus (
raft.rs,raft_transport.rs,examples/raft_wan_node.rs):- Quorum write commit via
RaftNode::propose_and_commit(§5.4.2), quorum linearizable reads viaRaftNode::read_linearizable(§6.4ReadIndexheartbeat quorum, zero WAL growth),CRC-32raft.walcrash recovery, and both multi-host Tailscale WAN (27.58 msRTT +SIGKILL) and local 20-link fault-injection suites verified{:valid? true}by official Clojureelle/elle 0.2.8.
- Quorum write commit via
- Energy Telemetry &
.jsynSub-1-Bit Sentence Embeddings (joule-db-energy,joule-db-weights):- Bare-metal hardware counter readers (
reported_jvia Linuxintel-rapland macOSIOKit SMC) segregated from analytical cost models (est_j), plus pure-Rustdcharlot65-openie/all-MiniLM-L6-v2-LittleBit(1.95 MB,0.4378 BPW,0.9441cosine vsFP32).
- Bare-metal hardware counter readers (
Reproducible External Evaluations (bench/)
1. Full Official ClickBench (hits.parquet, 99,997,497 Rows, 105 Columns, 43 Queries) vs. DuckDB 2.0.1
Executed via bench/clickbench_official.py over real pgwire (psycopg 3.3.9, --data-parent-dir /var/tmp physical NVMe on 100M) on framework-128gb-0000 (AMD Ryzen AI Max+ 395, 128 GB RAM, Linux rapl-package reported_j):
Official hits.parquet Scale |
Parquet Load (DuckDB vs JouleDB) |
JouleDB Post-Load RSS (VmHWM Peak) |
Queries Succeeded | SQL-Valid Match (Exact) |
Faster (JouleDB / DuckDB) |
Geomean Latency (JouleDB / DuckDB) |
Geomean Energy (reported_j) |
|---|---|---|---|---|---|---|---|
100,000 rows (JSON) |
0.179 s vs 0.265 s |
918 MB (2,652 MB) |
43 / 43 (0 err) |
43 / 43 (34 exact) |
20 / 23 |
1.47× slower (median 1.19×) |
1.97× more J |
1,000,000 rows (JSON) |
0.158 s vs 0.871 s |
1,283 MB (1,923 MB) |
43 / 43 (0 err) |
43 / 43 (29 exact) |
11 / 32 |
2.34× slower (median 2.95×) |
2.50× more J |
10,000,000 rows (JSON) |
2.422 s vs 13.340 s |
2,385 MB (3,448 MB) |
43 / 43 (0 err) |
43 / 43 (31 exact) |
9 / 34 |
2.28× slower (median 2.63×) |
2.22× more J |
99,997,497 rows — FULL 14.78 GB NVMe (JSON) |
18.208 s vs 161.403 s |
139.2 MB (9,454 MB) |
43 / 43 (0 err) |
43 / 43 (30 exact) |
8 / 35 |
2.35× slower NVMe (2.11× tmpfs, median 3.36×) |
2.09× more J |
- Candid Full-
100MSummary: Out-of-core.jcolsegments on physical NVMe slash post-load RSS42.4×(5,901.8 MB -> 139.2 MB) & peakVmHWM1.74×(16,469.7 MB -> 9,454.5 MB), beat DuckDB2.0.1on8 / 43queries at100Mrows (Q01.40 ms[1.84×],Q21.16 ms[7.48×],Q31.56 ms[25.7×],Q61.35 ms[5.05×],Q291.81 ms[7.82×],Q3730.48 ms[1.07×],Q4111.86 ms[2.06×],Q4211.31 ms[3.21×]), and slash tail latencies3.05×onQ39(906.85 -> 297.01 ms),4.04×onQ32(5,933.5 -> 1,467.5 ms),2.47×onQ30(668.5 -> 270.9 ms), and4.73×onQ7(34.95 -> 7.40 ms). DuckDB2.0.1wins35 / 43queries (2.35×geomean on NVMe /2.11×ontmpfs).
2. Official 22-Query TPC-H Relational Suite (tpch_queries(), 8 Tables, SF = 0.1, 1.0 & 10.0) vs. DuckDB 2.0.1
Executed via bench/tpch_official.py over real TCP pgwire (psycopg 3.3.9, physical NVMe --work-dir /var/tmp, Linux rapl-package reported_j) across all 22 official TPC-H SQL queries (Q01..Q22):
Official TPC-H Scale |
8-Table Parquet Load (DuckDB vs JouleDB) |
Post-Load RSS (VmHWM Peak) |
Exact Verified (Faster) |
Total 22-Query Time (DuckDB vs JouleDB) |
Geomean Latency (JouleDB / DuckDB) |
|---|---|---|---|---|---|
SF = 0.1 (866,602 rows) (JSON) |
0.430 s (12.2 J) vs 1.380 s (54.5 J) |
780.8 MB (939.3 MB) |
22 / 22 (5 faster: Q02,Q11,Q16,Q20,Q22) |
88.2 ms vs 253.0 ms (196.0× vs v0.10.0) |
1.99× slower (median 2.16×, down from 125.5×) |
SF = 1.0 (8,661,245 rows) (JSON) |
1.164 s vs 7.983 s (JFL2+ALP+FSST) |
113.7 MB (357.7 MB) |
22 / 22 (0 err, 0 timeouts) |
242.8 ms vs 778.1 ms |
2.96× (sub-3.00× all-time best!) (median 2.71×) |
SF = 10.0 (86,586,082 rows, 60M lineitem) (JSON) |
5.607 s vs 84.565 s (JFL2+ALP+FSST) |
668.0 MB (1,138.7 MB) |
22 / 22 (0 err, 0 timeouts) |
1,056.5 ms vs 4,567.3 ms (4.57 s all-time record!) |
4.16× (all-time best!) (median 4.07×) |
- Candid
TPC-HSummary: SelectiveAlpCodec::decode_selected(O(|sel|)), raw-date-firstQ06predicate order (SF=1.0: 6.32 ms,SF=10.0: 34.63 ms[3.60×faster thanv0.27.0]), 16-workerSingleFloatSumSlot(Q15SF=1.0: 8.24 ms[1.82×],SF=10.0: 100.82 ms[2.48×faster]),O(1)cachedDenseKeyBits::popcntselectivity-orderedKeyInsemi-joins, bytecodeFlatVColF64Prog, and 8-laneFastLanes JFL2 + ALP + FSST.jcolsegments break the3.00×geomean barrier onSF=1.0(2.9607×geomean,2.7089×median,778.1 msin113.7 MBRSS /357.7 MBVmHWM) and driveSF=10.0(86.6Mrows) to an all-time record4,567.3 ms(4.57 s,4.1617×geomean,4.0691×median,668.0 MBRSS /1.14 GBVmHWM,Q04: 81.7 ms[1.55×],Q19: 98.4 ms,Q17: 100.5 ms,Q21: 356.9 ms). DuckDB2.0.1remains faster atSF=1.0..10.0(2.96×–4.16×geomean).
3. Head-to-Head 100-Warehouse Physical-NVMe TCP pgwire OLTP vs. PostgreSQL 16.16 & SQLite 3.53.1
Executed via bench/oltp_pgwire.py (oltp_pgwire_v030.json, oltp_pgwire_v027.json, physical NVMe --work-dir /var/tmp, rapl-package reported_j, 100,000 accounts across 100 warehouses, 50% indexed point read, 30% durable BEGIN; UPDATE accounts ...; INSERT INTO history ...; COMMIT [fsync=on, synchronous_commit=on], 20% warehouse COUNT/SUM, invariant_verified = true across all 5 runs):
Engine & Wire Protocol (v0.30.0 Reclaimable-Overwrite GC + Per-Table sec_pending_mask + SSI) |
c = 1 TPS (p50, mJ/txn) |
c = 4 TPS (p50, mJ/txn) |
c = 8 TPS (p50, mJ/txn) |
c = 16 TPS (p50, mJ/txn) |
Committed Writes |
|---|---|---|---|---|---|
JouleDB 0.30.0 (pgwire Simple Query, 4-RTT + NVMe fdatasync) |
4,470.4 (0.021 ms, 9.59 mJ) |
3,036.0 (0.063 ms, 18.78 mJ) |
5,908.9 (0.143 ms, 13.62 mJ) |
11,238.0 (0.202 ms, 7.56 mJ) |
36,777 (0 err) |
JouleDB 0.30.0 (pgwire Extended Pipeline, 1-RTT + NVMe fdatasync) |
1,299.5 (0.044 ms, 34.59 mJ) |
2,859.1 (0.062 ms, 16.49 mJ) |
5,069.9 (0.156 ms, 13.77 mJ) |
10,069.6 (0.217 ms, 5.45 mJ) |
28,754 (0 err) |
PostgreSQL 16.16 (pgwire Simple Query, 4-RTT + NVMe fsync) |
1,083.2 (0.080 ms, 45.65 mJ) |
2,506.2 (0.098 ms, 18.95 mJ) |
5,070.8 (0.135 ms, 11.38 mJ) |
9,997.3 (0.261 ms, 5.34 mJ) |
27,854 |
PostgreSQL 16.16 (pgwire Extended Pipeline, 1-RTT + NVMe fsync) |
1,225.5 (0.069 ms, 24.91 mJ) |
2,600.0 (0.083 ms, 12.97 mJ) |
4,939.3 (0.150 ms, 7.88 mJ) |
9,900.1 (0.285 ms, 5.17 mJ) |
27,821 |
SQLite 3.53.1 (Embedded in-proc C API, NVMe WAL, NORMAL) |
42,212.2 (0.005 ms, 0.95 mJ) |
85,745.0 (0.007 ms, 0.61 mJ) |
79,816.0 (0.007 ms, 0.64 mJ) |
77,532.0 (0.008 ms, 0.90 mJ) |
444,194 (in-proc) |
- Candid Physical-NVMe OLTP Summary (
8 / 8TPS Clean Sweep vsPostgreSQL 16.16): Reclaimable-overwrite single-flight MVCC GC + 64-bit per-tablesec_pending_mask+ non-livelockingread_for_tablebeatPostgreSQL 16.16across all8 / 8concurrency × protocol TPS cells (invariant_verified = trueacross all 5 runs):4.13×(4,470.4vs1,083.2 TPS,4.76×less J/txn) atc=1Simple,1.21×atc=4Simple,1.17×(5,908.9vs5,070.8 TPS) atc=8Simple,1.12×(11,238.0vs9,997.3 TPS,+138.3%overv0.27.0) atc=16Simple, and1.06× / 1.10× / 1.03× / 1.02×(10,069.6vs9,900.1 TPSatc=16) acrossc=1..16Extended Pipeline (0errors), while candidly notingPostgreSQL 16.16READ COMMITTEDstill uses slightly lower package RAPLmJ/txnatc=8..16(5.34vs7.56 mJSimple,5.17vs5.45 mJPipeline) and embedded in-processSQLite(NORMAL, no TCP/fsync) leads single-process local throughput.
4. 5-Node Multi-Host Cross-Machine WAN/Tailscale TCP Raft (ReadIndex) + Official Clojure elle 0.2.8
Executed via bench/raft_multihost_wan.py, examples/raft_wan_node.rs, and bench/elle_check.clj:
- Cross-Machine WAN Topology & Nemeses: 5 real OS
raft_wan_nodeprocesses with durableraft.walacross 2 distinct physical Linux hosts (framework-128gb-0000bare-metal +openie-core-1Cloud Debian 12 VM,27.58 msmedian Tailscale WAN TCP RTT), cross-WAN2/5minority split isolatingn1,3/5majority election (n3), real OSSIGKILL(kill -9) onn5, andraft.walconvergence (commit=68, applied=68, x=68, y=39) ->{:valid? true}(270WAN events,:strict-serializable).
5. .jsyn (JSYN-v1) Fidelity vs. Compression Curve
| Model / Layer | BPW |
Shrink vs FP16 |
Measured Fidelity vs Upstream | Guidance |
|---|---|---|---|---|
all-MiniLM-L6-v2-LittleBit (6L Encoder) |
0.438 |
22.2× (1.95 MB) |
0.9441 embedding cosine vs FP32 |
Recommended for semantic search & TriModal RRF |
Gemma-4-E2B q_proj (r = 8..128) |
0.028–0.166 |
564×–96.6× |
0.271–0.455 output cos (KL 3.87–2.72) |
Experimental only — not a drop-in causal LLM (retracted from HF) |
Inkling-2-Mini w13 (128-Exp MoE, r = 8..128) |
0.023–0.134 |
701×–120× |
0.113–0.350 output cos (KL 2.91–2.59) |
Experimental only — not a drop-in causal LLM (retracted from HF) |
6. Head-to-Head Core Banking Double-Entry Ledger (4 / 4 Regime Sweep vs PostgreSQL 16.16) & Unified Suite
Executed via bench/ledger_banking_head_to_head.py (ledger_banking_nvme_rapl_v016.json, physical NVMe --work-dir /var/tmp, Linux rapl-package reported_j, 1,000 NO_OVERDRAFT customer wallets, 5% duplicate idempotency_key retries, SHA-256 digest per transfer, fsync=on & synchronous_commit=on, 493,941 HTTP & 436,801 pgwire SHA-256 chain entries verified valid = true):
Core Banking Regime (1,000 NO_OVERDRAFT Wallets, fsync=on) |
JouleDB 0.16.0 HTTP (JWL1 + SHA-256) |
JouleDB 0.16.0 pgwire (psycopg3 SQL) |
PostgreSQL 16.16 (FOR UPDATE / UNNEST) |
Speedup & RAPL Energy (reported_j) |
|---|---|---|---|---|
c = 1 Serial Durable Transfer |
3,424.5 TPS (p50 0.242 ms, 26.96 mJ/tx) |
400.6 TPS (p50 2.601 ms, 201.89 mJ/tx) |
371.9 TPS (p50 2.781 ms, 129.73 mJ/tx) |
JouleDB 9.21× HTTP (1.08× pgwire) · 4.81× less J/tx |
c = 4 Concurrent Group Commit |
1,250.0 TPS (p50 2.993 ms, 62.58 mJ/tx) |
1,412.7 TPS (p50 2.761 ms, 56.08 mJ/tx) |
777.6 TPS (p50 5.271 ms, 61.57 mJ/tx) |
JouleDB 1.82× pgwire (1.61× HTTP) · 1.10× less J/tx |
c = 16 High-Contention Concurrent |
2,636.9 TPS (p50 5.129 ms, 44.07 mJ/tx) |
3,919.0 TPS (p50 3.595 ms, 22.56 mJ/tx) |
2,861.0 TPS (p50 5.658 ms, 20.51 mJ/tx) |
JouleDB 1.37× pgwire win + global SHA-256 chain |
batch = 500 Clearing Batch (1 fdatasync / 500 tx) |
91,316.1 TPS (p50 4.290 ms, 1.06 mJ/tx) |
81,453.5 TPS (104,721 TPS peak) |
53,956.4 TPS (p50 8.556 ms, 1.03 mJ/tx) |
JouleDB 1.69× faster (>100k TPS peak) |
- Unified Banking,
0.553 msLazy CoW Branching,pgvectorHNSW & Human ORM Verification (unified_banking_agentic_v016.json): Verifies0.10 + 0.20 = 0.30&1,000 × 0.01 = 10exactDecimal128, multi-leg split settlements, two-phaseHOLD/POST, SQLJOIN(kyc_customers ⋈ jouledb_ledger_accounts), 500-op hot-wallet contention (0overdrafts,879.0 ops/s),0.553 msmedian pureCREATE BRANCH(0.432 mson Apple Silicon —69×faster thanv0.14.0),42501/40001/53200guardrails, nativepgvectorHNSW cosine<=>top-K recall,WORKFLOW CHECKPOINTreplay,SELECT ... FOR UPDATE [NOWAIT | SKIP LOCKED], and0-xfailSQLAlchemy 2(4/4) +psycopg3(12/12) +node-pg(5/5) +pgJDBC(7/7).
7. Large Text Compression Benchmark (LTCB enwik8/enwik9) — Joules-per-Bit & Seekable Database Pareto (bench/ltcb_energy_pareto.py)
Executed via bench/ltcb_energy_pareto.py (ltcb_energy_pareto_v016.json) on Matt Mahoney's official enwik8 (100,000,000 B = 12,346 English Wikipedia XML articles, Linux RAPL reported_j) alongside published primary-source enwik9 (1,000,000,000 B) neural compressors from mattmahoney.net/dc/text.html (analytical_est clearly segregated):
| System / Storage Format | Corpus | Ratio (bpb) |
Decode / Scan Speed | O(1) Article Lookup |
Decode / Scan Energy (nJ/bit) |
|---|---|---|---|---|---|
cmix-lex-transformer (published LTCB #1) |
enwik9 (1 GB) |
10.43× (0.767 bpb) |
0.0047 MB/s (2.47 d) |
None (full replay) | ~668,250 nJ/bit (analytical_est 25W) |
zmix 1.0 (fx2-cmix Zig) (published LTCB #2) |
enwik9 (1 GB) |
10.41× (0.769 bpb) |
0.0076 MB/s (1.52 d) |
None (full replay) | ~245,970 nJ/bit (analytical_est 15W) |
tufazip v2 (Tufa Labs 163M) (published LTCB #3) |
enwik9 (1 GB) |
9.49× (0.843 bpb) |
0.0016 MB/s (7.29 d) |
None (630,136 s) |
~157,534,000 nJ/bit (analytical_est 2kW B200) |
zstd -19 (stream) (live RAPL) |
enwik8 (100 MB) |
3.71× (2.156 bpb) |
177.7 MB/s (0.56 s) |
None (stream) | 90.54 nJ/bit (reported_j 72.43 J) |
zstd -3 (stream) (live RAPL) |
enwik8 (100 MB) |
2.82× (2.836 bpb) |
577.0 MB/s (0.17 s) |
None (stream) | 27.97 nJ/bit (reported_j 22.37 J) |
Seekable Parquet Zstd (Ontology+SimHash sorted) |
enwik8 (12.3k docs) |
2.79× (2.870 bpb) |
Row-group seekable | O(row_group) |
1.46% smaller than stream order |
JouleDB v0.16.0 .jcol SQL (pgwire) (live RAPL) |
enwik8 (12.3k docs) |
Raw mmap .jcol |
3,374 MB/s (28.36 ms LIKE) |
5.41 ms (116.4M× vs tufazip) |
2.83 nJ/bit (reported_j 2.16 J — 55.7M× less J/bit) |
8. v0.19.0 Sub-Millisecond Lazy CoW Dry-Runs, Live 429 Failover, /v1/rerank, Orthogonal Super-Adapters & SQL Kinetic Ontology (v019_sota_agentic_bench.json)
Executed via bench/v019_agentic_ai_inside_bench.py (energy_measurement_class: "analytical_est") against the single-binary jouledb 0.19.0 release server on framework-128gb-0000:
JouleRouteLiveHTTP 429Failover +RTK+LangCache:93.01%deterministicRTKlog token compression (1,169 -> 82tokens in683.1 µs),2.928 mslive over-the-wireHTTP 429upstream catch + circuit-breaker trip + backup failover, and2.175 msTier 0LSN-consistentLangCachehit.- Voyage AI / Cohere v2
POST /v1/rerank:98,381.6–106,154.0 docs/sec(0.603–0.651 msHTTP round-trip /314–336 µsengine across64candidate docs, exacttop1_index = 19hit). - Orthogonal
Harness Super-Adapters:Pi(r=32) +OpenCode(r=32) +Hermes(r=32) factorized subspace audit (max_cos = 0.005805,all_pairs_orthogonal = true) + Rank-96concatenation in1.962 ms. - Sub-Millisecond Lazy CoW Branch Dry-Runs + SQL
Kinetic Ontology+jouledb mcp --power:0.564 msKeep-Alive HTTP /0.626 msSQL /0.954 msfresh-TCPurllibisolated CoW branch dry-run (27.39×–46.34×faster thanv0.18.0's26.14 ms&35.76×–60.50×faster thanv0.17.0!),0.985 mslive SQLEXECUTE ACTION+ SHA-256FinancialLedgercommit,97.73%–99.18%MCP prompt-bloat reduction (59 -> 5scoped tools), and0.672 msOpenCodeSQL/Ontology LSP diagnostic round-trip (42501+ONT001). - Durable
DuckLake+Lance Blob v2+ In-SQLAI_*:0.442 msSeek+SHA-256byte-range slice (4.1 KBframe from16.78 MBcontainer —4,089×I/O amplification avoided) and0.781 msSELECT ... AI_RANK(...) WHERE AI_FILTER(...) ORDER BY r DESC LIMIT 5.
9. v0.20.0 WorldCommit (Database ≡ Capability OS ≡ Post-Git VCS) & Academic Frontier SQL (v020_academic_sota_swot_bench.json)
Executed via bench/v020_academic_sota_bench.py (energy_tag: "reported_j", rapl-package) against the single-binary jouledb 0.20.0 release server on framework-128gb-0000:
WorldCommitvs. POSIXgit worktree(16Parallel Agents):0.133 msmedianFORK WORLD(p95 0.388 ms) vs2.799 msgit worktree add(21.11×faster &3.45×lower RAPLreported_j[1.4394 Jvs4.9692 J]) and0.318 msmedian 4-sort algebraicMERGE WORLD(16disjoint SQL(pk, col)cell writes +16commutative $\mathbb{Z}_{128}$FinancialLedgertransfers +16KineticOutboxreleases in1.5039 J), plus0.277 msKeep-AliveKineticActionCoW branch dry-runs (2.04×faster thanv0.19.0).- Academic Frontier SQL (
SIGMOD'24 RaBitQ,CSR-Leapfrog WCOJ,VLDB'23 DBSP):CREATE INDEX ... USING rabitqachieves18.29×quantized compression (32×asymptotic) at1.000Precision@10 (13.72 msbuild,2.60 msquery); automaticCSR-Leapfrog WCOJcyclic SQL joins run in0.817 msvs221.82 msbinary join (271.66×faster;0.732 ms/293.79×peak); andDBSPZSetREFRESH MATERIALIZED VIEWcompletes in0.089 mswatermark No-Op /1.672 mssymmetric delta.
10. v0.22.0 In-Process Fuel-Metered WASI VM & Lossless ALP + FSST .jcol Segments (v022_sota_triad_bench.json)
Executed via bench/v022_sota_triad_bench.py (energy_evidence: "reported_j", rapl-package) against the single-binary jouledb 0.22.0 release server on framework-128gb-0000:
- In-Process
WASI(wasi_snapshot_preview1) Sandbox vs. Zero-Ambient POSIX/bin/sh(202-FileWorldCommitRepo): Executes.wasmbinaries in-process overWorldCommitCoW VFS in0.1205 msp50(0.1384 msp95,8,399.16 execs/sec,6.41 mJ/execreported_j,WASI_ERRNO_ACCES = 2verified) vs3.5568 msp50(282.29 execs/sec,169.31 mJ/exec) for POSIX/bin/sh—29.52×fasterp50(87.3×faster thangit worktree) and26.43×lower hardware RAPL energy per execution. - Lossless
ALP(f64) +FSST(Text).jcolDisk Compression (1,000,000Telemetry Rows): Shrinks104.00 MBraw uncompressed columnar data to19.22 MBon disk (5.412×lossless compression,81.52%space reduction), sustaining597,984.2 rows/secCOPYingest,4.842 msp50(206.53 Million rows/sec) vectorizedALPscans, and10.178 msp50FSSTCOUNT(DISTINCT)over50,000unique URIs.
11. v0.23.0 BLAKE3-Cached WASI + Transactional jouledb_env Host ABI & 7.45× FastLanes JFL1 + ALP + FSST .jcol (v023_sota_triad_bench.json)
Executed via bench/v023_sota_triad_bench.py (energy_evidence: "reported_j", rapl-package) against the single-binary jouledb 0.23.0 release server on framework-128gb-0000:
- Warm
BLAKE3-CachedWASI+ Transactionaljouledb_envHost ABI (200-FileWorldCommitRepo): Pure cachedWASIexecutes in0.1097 msp50(0.1383 msp95,8,474.86 execs/sec,10.03 mJ/exec,200 / 200wasm_cache_hit—22.65×faster &23.21×lower RAPL J than POSIX/bin/sh), while transactionaljouledb_envhost-SQLWASI(jdb_energy_remaining_uj+jdb_sql_queryon<world>'s CoW SQL branch) executes in0.1338 msp50(7,074.28 execs/sec,13.69 mJ/exec—18.57×faster than/bin/sh). - Lossless
FastLanes JFL1(0..=56-Bit FOR) +ALP+FSST.jcol&Q15VIEWCache (1,000,000Telemetry Rows): Shrinks104.00 MBraw uncompressed columnar data to13.96 MBon disk (7.447×lossless compression,86.57%space reduction —27.3%smaller thanv0.22.0's19.22 MB), sustaining542,061.8 rows/secCOPYingest,5.185 msp50(192.86 Million rows/sec) vectorized scans, and0.510 msp50Q15dual-referenceVIEWqueries.
12. v0.24.0 Content-Addressed BLAKE3 Wasm Agent Snapshots & 8-Lane FastLanes JFL2 .jcol (v024_sota_triad_bench.json)
Executed via bench/v024_sota_triad_bench.py (energy_evidence: "reported_j", rapl-package) against the single-binary jouledb 0.24.0 release server on framework-128gb-0000:
- Content-Addressed
BLAKE3Wasm Snapshots (WORLD SNAPSHOT/WORLD RESUME SNAPSHOTvs. POSIX/bin/sh): Compresses128 KiBlinear memory into2sparse4 KiBchunks (8,192 B=16.0×sparse CoW compression,200 / 200deterministicsnap-c33e5befd216d7fd7ff481101581d051), captures snapshots in0.3442 msp50(0.1864 mspeak,11.98×–12.47×faster than/bin/sh), and resumes into a forkedWorldCommitbranch with live transactionaljdb_sql_query(200 / 200) in0.2464 msp50(0.1403 mspeak,4,015.7–6,961.4 resumes/s—16.73×faster &17.19×lower hardware RAPL energy than POSIX/bin/sh). - 8-Lane SIMD-Interleaved
FastLanes JFL2+ALP+FSST.jcol(1,000,000Telemetry Rows): Shrinks104.00 MB -> 13.96 MB(7.447×lossless compression,86.57%disk savings,4 / 4JFL2segments verified), sustaining578,088.3 rows/sec(610,911.3 rows/secpeak)COPYingest and5.397 msp50(185.28 Million rows/sec,16.36 J/ 30 runs) vectorized scans.
13. v0.27.0 Counterfactual WORLD TOURNAMENT SNAPSHOT, Dictionary-Mask CASE Joins, & HOT OLTP (v027_sota_triad_bench.json)
Executed via bench/v027_sota_triad_bench.py (energy_evidence: "reported_j", rapl-package) against the single-binary jouledb 0.27.0 release server on framework-128gb-0000:
- 8-Candidate Counterfactual
WORLD TOURNAMENT SNAPSHOTvs. 8-Way POSIX/bin/sh: ResumesK=8isolated CoW Wasm snapshots concurrently (UPDATE strategy_eval SET score = ... WHERE id = 1on the same PK), runs isolatedSCORE SQL, computes(score, energy_uj)Pareto non-dominance (pareto_count = 3), merges only the winner via 4-sortMERGE WORLD ... STRICT, and evaporates 7 losers in2.5771 msp50(0.3221 ms/candidate,35.92 mJ/candidate—7.36×faster &7.39×lower RAPL J than 8-way POSIX/bin/sh, and2.86×faster than 8-way blind fan-out). - Bytecode
FlatVColF64Prog& Dictionary-MaskCASE WHENJoins (1,000,000Rows) + High-SkewHOTOLTP: ExecutesQ14p_type LIKE 'PROMO%'dictionary-mask joins in4.1151 msp50(243.0M rows/s),Q12integerCASE WHENmask joins in16.9321 msp50(59.1M rows/s),Q018-aggregateFlatVColF64ProgGROUP BYin30.2583 msp50(33.05M rows/s), andc=16high-skewHOTbranches+accountscontention at5,390.3 TPS(21.98 mJ/tx,6.39 mslinearizable post-burst secondary settle).
14. v0.30.0 Mitotic 25k-State Scholar × JouleDB, JMS1\x01 NVMe Checkpoint, OpenIE Research TV (WAI-1), & 5th-Sort WorldCommit (v030_sota_triad_bench.json)
Executed via bench/v030_sota_triad_bench.py (energy_evidence: "reported_j", rapl-package) against the single-binary jouledb 0.30.0 release server on framework-128gb-0000:
25,273-State Mitotic Sub-Basins (4,086Fine Basins) vs. Relational 2-Index SQLLIKE: All256 / 256coarse roots auto-divide into4,086active fine mitotic sub-basins (202.18×candidate pruning =125.0avg candidates =0.495%of25,273states,0secondary B-trees), resolving queries in0.4628 msp50(0.8394 msp95,48.85 mJ/query) vs0.6992 msp50(1.3332 msp95,137.86 mJ/query) for 2-index relational SQLLIKE—1.51×faster wall-clock AND2.82×lower hardware RAPL energy (candidly noting374.82 Jupfront VSA ingest vs27.11 Jplain SQLINSERT), with signedCOSE_Sign1receiptppd-0d2e14fad723db1f5a0f3ee1(5.89 mJ=0.736 mJ/state,39.86 µJ/bit,169.85×cheaper than a1.0 J100-token LLM refusal).JMS1\x01+BLAKE3NVMe Checkpoint & Cold Reopen +OpenIE Research TV(WAI-1) + 5th-SortWorldCommit: Checkpoints190.60 MB(25,273states) to NVMe in344.98 ms(31.35 J), cold-restarts and verifiesmorphic_state_rootin403.98 ms(cold_reopen_root_verified_exact = true), ingests6OpenIE Research TVaccessible cuts (WCAG 2.2 AA,EAA,EU AI Act Art. 50), and branches/merges morphic states viaDIFF WORLD+MERGE WORLD(non_arbiter_preserved = true).
15. v0.31.0 Lore-Class Binary-First Fragmented CAS, Sparse VM Disks, Causal SuccessorLocks, Copy-on-Read Partition Fork, & Two-Phase OBLITERATE (v031_sota_lore_universal_bench.json)
Executed via bench/v031_sota_lore_universal_bench.py (energy_evidence: "reported_j", rapl-package) against the single-binary jouledb 0.31.0 release server on framework-128gb-0000:
16 MiBBinary.uassetUnaligned514-Byte Mid-File Edit +MERGE WORLDvs. Realgit commiton Physical NVMe: Normalized two-mask GearFastCDC(32/64/256 KiB) +Zstd(0.14.5) reuses192 / 194chunks (98.97%deduplication) and stores only2new chunks (114,391B =111.7 KiB) in25.82 ms(3.387 Jreported_j), whereasgit add+git commitwrites16,782,610B (16.01 MiB) in377.94 ms(50.666 Jreported_j) —146.71×less storage written,14.64×faster wall-clock, and14.96×lower hardware RAPL CPU package energy.1 GiB(1,073,741,824-Byte) Sparse VM Root Disk (99.99%Zero Holes) +5004 KiBWebDAV HTTP 206Range Reads: Stores a1 GiBlogical VM disk image in297physical CAS bytes (3,615,292.3×logical-to-physical ratio) in0.987 ms, and serves5004 KiB$O(\log N)$ sparseWebDAV 206range reads at0.0822 ms(82.2 µs)p50(0.1218 msp95,12.76 mJ/readreported_j).- Causal
SuccessorLocks, Copy-on-Read16-Byte Partition Fork (SolvingLore §26.1), Two-PhaseOBLITERATE, &JLFP\x01Packfile Reload: Executes200SuccessorLockroundtrips at0.1994 msp50(0.3082 msp95,28.75 mJ/roundtrip) while rejecting stale sibling overwrites (HTTP 409) and allowing isolatedexperimentLockScopes (HTTP 200); forks cross-partition worlds viaCopyOnReadGrantin0.1744 mswith0payload bytes copied; scrubs secret bytes via two-phaseOBLITERATEin0.1409 ms; and checkpoints16.94 MiBJLFP\x01(BLAKE3+CRC32) packfiles in18.689 mswith22.200 mscold reload on a clean data directory.
Quickstart (v0.31.0)
# 1. Install prebuilt v0.31.0 binary (macOS ARM64/x86_64; Linux x86_64 GLIBC <= 2.35, Ubuntu 22.04/24.04 & Debian 12 ready)
# 2. Launch JouleDB server (HTTP :8080, TCP :8081, PgWire :8082, JWP :8083, FlightSQL :8084, MCP HTTP /mcp)
# 3. Run Claude Desktop / Kiro / OpenCode / Antigravity MCP stdio server (97 tools, or scoped to one Ontology Power!)
# 4. Connect with psql, fork an atomic 5-sort WorldCommit sandbox, lock a binary asset, or run self-tests
&&
Honest Engineering Boundaries (Read Before Adopting)
- Pre-1.0 research preview (
v0.31.0), not a battle-tested production RDBMS: While JouleDB0.31.0unifiesLore-class binary-first fragmented CAS (FastCDC98.97%chunk reuse /146.71×less storage &14.96×less RAPL J thangit commiton16 MiB.uassetedits,82.2 µsp50WebDAV 206sparse VM reads,0.199 mscausalSuccessorLocks,0-byte Copy-on-Read16-byte Partition Fork,0.141 msTwo-PhaseOBLITERATE,13sys_world_*SQL tables, &97MCP tools) + durableJMS1\x01mitoticScholar × JouleDB(25,273states across4,086sub-basins,0.463 msp50[1.51×faster &2.82×less RAPL J than 2-index SQLLIKE],345.0 msNVMe checkpoint /404.0 mscold reopen,OpenIE Research TVWAI-1accessible seam, & Ed25519 RFC 9052COSE_Sign1receipts) + 5-sortWorldCommit(0.133 msFORK WORLD,0.318 msMERGE WORLD,2.58 ms8-candidate counterfactualWORLD TOURNAMENT SNAPSHOT[7.36×faster than 8-way POSIX/bin/sh],2.85 GiB/sloopbackNFSv3) + lossless 8-laneFastLanes JFL2 + ALP + FSST.jcol(7.447×,AlpCodec::decode_selected,O(1)DenseKeyBits::popcnt) + Academic Frontier SQL (USING rabitq18.29×/1.000P@10,271.7×CSR-Leapfrog WCOJ,0.089 msDBSPZSet) +4 / 4NVMe Core BankingLEDGERsweep +8 / 8TPS clean sweep overPostgreSQL 16.16on100-warehouse NVMepgwireOLTP (4,470 -> 11,238 TPSSimple &1,299 -> 10,070 TPSPipeline) +43 / 43Official ClickBench on99,997,497rows (139.2 MBRSS,8 / 43wins) +22 / 22OfficialTPC-H(778.1 ms/2.96×geomean atSF=1.0;4,567.3 ms[4.57 s] /4.16×geomean in1.14 GBVmHWMatSF=10.0) + 5-node WAN Raft (elle{:valid? true}), mature single-purpose systems (DuckDB 2.0.12.11×–2.35×faster on100MClickBench &2.96×–4.16×faster onSF=1..10TPC-H;PostgreSQL 16.16READ COMMITTED1.05×–1.42×lower package RAPLmJ/txnatc=8..16NVMe OLTP despite JouleDB winning all8 / 8raw TPS cells; plain SQLINSERT13.8×lower upfront ingest energy [27.11vs374.82 J] than10,240-bit VSA bundling;FastCDCGear rolling-hash scanning vsO(1)fixed-offset slicing on unedited incompressible streams; kernelProjFS/FUSEdaemons vs userspace loopbackNFSv3/WebDAV; non-SQLTigerBeetleonio_uringfixed-struct clusters; offline neural compressorscmix/zmix/tufazipon non-seekable0.77–0.84 bpbarchival ratio) remain ahead on their specialized single axis. - No external compliance certifications:
jouledb trustexercises technical security primitives in code (external_audit_performed = false). No third-party SOC 2, ISO 27001, HIPAA, PCI-DSS, NIST CMVP, or FedRAMP audit has been conducted. - Exact compiler safety lint scope:
#![deny(unsafe_code)]is set injoule-db-corewith 1#![allow(unsafe_code)]module (crates/joule-db-core/src/storage/mmap_extent.rs).#![cfg_attr(not(test), deny(clippy::unwrap_used))]is enforced across41 / 41workspace crates (100%,0#[allow(clippy::unwrap_used)]bypasses) via a blocking CI gate. - SDK registry status: Prebuilt
cp39-abi3Python.whlwheels, TypeScriptopenie-jouledb-0.31.0.tgz(+ GitHub Packages npm), and Claude.mcpbbundles are published on GitHub Releases (v0.31.0) (with OIDC Trusted Publisher & token jobs wired in.github/workflows/release.yml); packages are not yet published on public PyPI, npmjs, NuGet, or Maven Central pending upstream registry OIDC registration.
Documentation & Links
- Website: https://jouledb.org (Claude & MCP Apps · Benchmarks · Honest Boundaries · Security Controls & Bridges ·
.jsynFidelity) - Online Book (
mdBook): https://openie-dev.github.io/jouledb (Claude & MCP Apps Guide) - Verified
.jsynSentence Embedder & Benchmark Dataset: https://huggingface.co/dcharlot65-openie - Architecture Whitepaper (
v0.31.0):docs/WHITEPAPER-JOULEDB-2026-11.md .jsynBinary Specification:docs/JSYN-LIVING-WEIGHTS-SPEC.md- Benchmark Scripts & Raw JSON/EDN Outputs:
bench/
License
Copyright (c) 2026 Open Interface Engineering, Inc. Dual-licensed under either Apache License, Version 2.0 or MIT License, at your option.