Skip to content
CAI
Produce a survey ↗Verify a survey

whitfin/cachex

Cachex is an Elixir library for in-memory caching, providing a robust API for storing, retrieving, and managing data in memory. It supports distributed caching through various routing strategies and offers flexible eviction policies to manage memory usage. The system includes comprehensive tooling for code quality, performance benchmarking, and automated documentation generation.

64.6

Adequate · 6 August 2026

6.1k

lines of production code

Elixir

primary language

1

bus factor · 46 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2016 · Cachex architecture refactoring

This period focused on a comprehensive refactoring of the Cachex library, reorganizing its internal architecture into modular service and action components. The work included updating dependencies, enforcing code quality standards, and adding extensive test coverage for the new structure.

8 changes

2017 · Cache service modularization and validation

The project refactored cache management into distinct service modules, each handling specific operations like locking, warming, and expiration. This restructuring was accompanied by comprehensive test coverage and the introduction of a runtime specification validator to ensure data integrity and improve concurrency.

5 changes

2018–2024 · Distributed caching and eviction policies

This period focused on expanding the library's capabilities for distributed caching by introducing multiple router implementations, including consistent hash rings with dynamic node monitoring. It also added flexible cache eviction policies, such as LRU and LRW strategies, alongside comprehensive test coverage and automated documentation generation.

7 changes

CAI lens gauges

Survey your own repository

whitfin/cachex 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 the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 6 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 44ac7e445b — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards