reckon-db-org/reckon-db
66.1
Weak · 15 November 2026
20.6k
lines of production code
Erlang
with Rust
4
measurements over time
What this system is
Features
Added benchmark slices for parallel stream throughput and GC pressure analysis
New benchmark slices have been added to evaluate specific performance hypotheses. The \append\_many\_streams\ slice tests whether throughput scales linearly with parallel workers by appending to independent streams, helping to identify if serialization bottlenecks exist at the Raft group level. The \append\_preencoded\ slice tests whether reusing a single pre-built event map reduces garbage collection pressure compared to constructing fresh event maps on every append, isolating off-heap binary churn as a potential performance driver.
_benchmarks/slices/append\_many\_streams, benchmarks/slices/append\preencoded · high confidence
Initial benchmark infrastructure for reckon-db storage layer
Adds a new \benchmarks/\ directory providing the infrastructure to measure reckon-db storage performance directly. This includes a shared harness via the \reckon\_bench\_harness\ dependency (version 0.1), a bash-based orchestration script (\bench.sh\), and specific workload slices for \append\_single\_stream\ and Dynamic Consistency Boundary (DCB) appends (both contended and uncontended). The entry also publishes initial baseline performance numbers for these workloads on a local development profile.
benchmarks · high confidence
Initial release of Reckon-DB with cluster resilience and integrity features
This change introduces the Reckon-DB library (renamed from erl-esdb), defining core records and macros in the new include headers. Key updates for users include defaulting the store mode to 'cluster' for improved resilience, adding tamper-resistance integrity chains (HMAC + chain verification) for streams, and introducing a generic, opt-in write-maintained secondary index system. The release also adds a monotonic global event counter for O(1) reads, DCB (Dynamic Consistency Boundary) paths and indexes for conditional appends, and comprehensive telemetry events for stream operations, subscriptions, cluster health (including self-healing), and more.
include · high confidence
Initial release of reckon-db with embedded Rust NIFs and cluster-wide store discovery
reckon-db is now available as a standalone BEAM-native event store built on Khepri and Ra, offering event sourcing, persistent subscriptions, snapshots, and automatic cluster formation via UDP multicast discovery. The release includes embedded Rust NIFs for 3-15x acceleration of crypto, hashing, compression, aggregation, filter matching, and graph algorithms, with pure-Erlang fallbacks for environments without the Rust toolchain. Key features include a distributed store registry for cluster-wide discovery, a Store Inspector for aggregate-level introspection, and support for tag-based cross-stream querying.
src · high confidence
Native Rust NIFs for accelerated event aggregation, compression, and hashing
This release introduces a suite of embedded Rust NIFs to replace pure Erlang implementations for performance-critical operations. Event aggregation now uses Rust for bulk folding and vectorized sum accumulation. Archive compression and decompression are accelerated via Rust bindings for LZ4, Zstandard, and Zlib. Cryptographic operations, including Ed25519 signature verification and SHA-256 hashing, are offloaded to Rust for speed. Stream filtering and pattern matching utilize Rust's regex engine for faster wildcard and regex evaluation. Finally, hashing operations for consistent routing (xxHash, FNV) are implemented in Rust to reduce overhead. These NIFs are optional; the system falls back to pure Erlang implementations if the native libraries are unavailable.
(repo-wide) · high confidence
New release safety, CI, and migration scripts
The repository adds a suite of scripts to enforce release integrity and support the v2.3.0 embedded Rust NIF migration. \is\_checkout\_publishable.sh\ and \is\_hex\_serving\_what\_git\_says.sh\ prevent publishing from dirty checkouts and verify that the published package matches the git tag. \is\_hex\_publish\_key\_live.sh\ validates the HEX\_API\_KEY's write permissions before publishing. \check\_ratchet.sh\ implements a dialyzer/lint ratchet to track debt without failing CI on known issues. \does\_package\_carry\_the\_nifs.sh\ ensures Rust NIF sources are included in the hex package. Finally, \fix\_integrity\_stream\_ids.sh\, \fix\_integrity\_tamper\_paths.sh\, and \fix\_subscription\_suite\_stream\_ids.sh\ update test suites to conform to the new strict stream ID regex and structural aggregate-type stream namespace. Also in this area: 4 commits (0 fixes) modifying scripts.
scripts · medium confidence · unverified
Behavioural changes
1 commit (0 fixes) modifying native/reckon\_db\_aggregate\_nif
A change to existing behaviour in native/reckon\_db\_aggregate\_nif — 1 commit, 1 file: “lint: the structural floor reaches the native crates and the benchmark slices”. Also in this area: Native Rust NIFs for accelerated event aggregation, compression, and hashing.
_native/reckon\_db\_aggregate\nif · medium confidence · unverified
Fixes
Fixes silent stale NIF caching during builds
The build script for embedded Rust NIFs now correctly detects when source files have changed, preventing the use of outdated compiled libraries. Previously, the build process could silently serve stale NIF binaries even after code updates, which masked changes and potential security fixes; the new logic ensures that NIFs are rebuilt whenever their Rust sources or configuration files are newer than the existing binary. Also in this area: 2 commits (0 fixes) modifying priv.
priv · medium confidence · unverified
Test coverage
Added end-to-end tests for reckon-db and mesh integration; Added integration tests for cluster, integrity, and indexing features; Added security tests for gossip message decoding; Added test support helpers for reckon-db integration and channel authorization; Added unit tests for core Reckon DB modules.
Dependencies
1 commit updating dependencies (5 manifests)
A dependency / build maintenance change in (dependencies) — 1 commit, 5 files: “lint: the structural floor reaches the native crates and the benchmark slices”. Also in this area: Add Rust NIF crates for event aggregation, archive, crypto, filtering, and hashing.
(dependencies) · medium confidence · unverified
Housekeeping
Initial project scaffolding and CI tooling baseline
The repository is initialized with the core build configuration (rebar.config), a pinned Erlang/OTP 28.4.3 toolchain (.tool-versions), and a .gitignore that excludes build artifacts and the rebar.lock file. To support continuous integration, baseline files for linting (.lint\_baseline) and static analysis (.dialyzer\_baseline) are added to record known warnings, ensuring that new findings fail the build while existing ones are tracked. The project also includes standard governance and contribution documentation (CODE\_OF\_CONDUCT.md, CONTRIBUTING.md, SECURITY.md) and a comprehensive CHANGELOG.md documenting the history of the event store library.
(repo-wide) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 68 → 66 (-1.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 74 → 67 (-7.1)
- Architecture 97 → 98 (+0.5)
- Maturity 86 → 86 (+0.1)
- Readiness 55 → 55 (+0.0)
- Security 81 → 80 (-1.3)
- Event-Driven 80 → 80 (+0.0)
- Event Sourcing 100 → 100 (+0.0)
Resolved (1)
- Hotspot: src/reckon_db_gateway_worker.erl (src/reckon_db_gateway_worker.erl)
New (49)
- Edited copies of one member (3 members, 5+ corresponding lines) (src/reckon_db_filter_nif.erl)
- Edited copies of one member (3 members, 7+ corresponding lines) (src/reckon_db_consistency_checker.erl)
- Edited copies of one member (4 members, 10+ corresponding lines) (src/reckon_db_ccc_filter.erl)
- Edited copies of one member (4 members, 13+ corresponding lines) (src/reckon_db_cluster_sup.erl)
- Edited copies of one member (5 members, 14+ corresponding lines) (src/reckon_db_aggregate_nif.erl)
- Edited copy of a member (10 corresponding lines) (native/reckon_db_archive_nif/src/lib.rs)
- Edited copy of a member (10 corresponding lines) (src/reckon_db_archive_file.erl)
- Edited copy of a member (10 corresponding lines) (src/reckon_db_snapshots_store.erl)
- Edited copy of a member (10 corresponding lines) (src/reckon_db_store_registry.erl)
- Edited copy of a member (11 corresponding lines) (src/reckon_db_archive_nif.erl)
- Edited copy of a member (11 corresponding lines) (src/reckon_db_archive_nif.erl)
- Edited copy of a member (11 corresponding lines) (src/reckon_db_dcb.erl)
- Edited copy of a member (12 corresponding lines) (native/reckon_db_archive_nif/src/lib.rs)
- Edited copy of a member (12 corresponding lines) (native/reckon_db_crypto_nif/src/lib.rs)
- Edited copy of a member (12 corresponding lines) (native/reckon_db_filter_nif/src/lib.rs)
- Edited copy of a member (13 corresponding lines) (src/reckon_db_leader.erl)
- Edited copy of a member (14 corresponding lines) (src/reckon_db_scavenge.erl)
- Edited copy of a member (15 corresponding lines) (src/reckon_db_leader_sup.erl)
- Edited copy of a member (16 corresponding lines) (src/reckon_db_streams_reader.erl)
- Edited copy of a member (19 corresponding lines) (native/reckon_db_aggregate_nif/src/lib.rs)
- …and 29 more
Changes since last survey
- 2 commits — 1 feature/other, 1 fixes
By area
- (root) — 2 commits
Notable commits
- fix: deps: Khepri 0.17.11, the first release with the does_path_match crash fix
- change: docs: the texts that still named khepri 0.17.2, horus 0.3 and ra 2.16.x
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
reckon-db-org/reckon-db was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit b7ed1855bc725983de8f4e13d4c793ff3bb6f490 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.