esl/segmented_cache
57.2
Adequate · 15 November 2026
667
lines of production code
Erlang
primary language
5
measurements over time
What this system is
This system is a high-concurrency key-value caching library for Erlang/OTP that utilizes rotating ETS tables to manage state efficiently. It provides configurable eviction strategies, time-to-live settings, and custom conflict resolution mechanisms, all supported by telemetry instrumentation. The implementation is backed by comprehensive property-based and functional tests to ensure reliability under concurrent access.
Features
Initial release of segmented\_cache library
This entry introduces the \segmented\_cache\ library, a key-value cache implementation that uses rotating ETS tables to support high-concurrency reads and writes. The library leverages modern OTP features such as \persistent\_term\ and \atomics\ for state management and includes built-in telemetry instrumentation for monitoring. It supports configurable eviction strategies (FIFO or LRU), time-to-live (TTL) settings, and custom conflict resolution via a \merger\_fun\ callback. The release also includes comprehensive documentation, design notes, and build configuration for Erlang/OTP 26+.
(repo-wide), src · high confidence
Test coverage
Added property-based and functional tests for segmented cache
Added comprehensive test coverage for the segmented cache module, including property-based tests using Proper to verify concurrent put/get operations, membership checks, and stateful command sequences, as well as functional tests for cache eviction strategies (LRU, FIFO), entry limits, and telemetry event handling.
test · 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 57 → 57 (-0.2)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 72 → 70 (-1.5)
- Architecture 69 → 69 (+0.0)
- Maturity 46 → 46 (+0.0)
- Readiness 62 → 62 (+0.0)
- Security 97 → 95 (-2.1)
Resolved (1)
- Off-boarding risk: anonymized user #1
New (2)
- Edited copy of a member (9 corresponding lines) (src/segmented_cache_helpers.erl)
- Off-boarding risk: anonymized user #1
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
esl/segmented_cache 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 01656d0aeb842acd0d23da50c520e1ddf5b6ca6e — 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.