esl/segmented_cache
53.6
Adequate · 2 October 2026
667
lines of production code
Erlang
primary language
2
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 watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 55 → 54 (-1.1)
- Rubric changed (rubric-2026.09.12 → rubric-2026.09.18) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 35 → 35 (+0.0)
- Readiness 64 → 59 (-5.6)
- Security 92 → 97 (+4.8)
Resolved (2)
- Coverage not measured — no coverage collector is wired up
- Off-boarding risk: anonymized user #1
New (4)
- Documentation: no contributor guidance (README.md)
- Documentation: no usage examples (README.md)
- Off-boarding risk: anonymized user #1
- Outdated: telemetry
Written by watchdog.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 2 October 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.09.18 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.