Skip to content

Feat/memory eviction advanced#15

Merged
phaethix merged 4 commits into
masterfrom
feat/memory-eviction-advanced
Apr 30, 2026
Merged

Feat/memory eviction advanced#15
phaethix merged 4 commits into
masterfrom
feat/memory-eviction-advanced

Conversation

@phaethix
Copy link
Copy Markdown
Owner

No description provided.

phaethix added 4 commits May 1, 2026 00:02
- extend EvictionPolicy with allkeys-lfu, volatile-lfu, allkeys-ahe, volatile-ahe
- add Morris probabilistic counter and minute-granularity decay helpers
- add AdaptiveHybridState feedback loop tuning alpha via hit ratio
- thread lfu_counter / lfu_decay_minute through ValueEntry + Candidate
- record keyspace hits/misses in get/mget/exists for AHE feedback
- unit test LFU picks, AHE TTL penalty, Morris bounds, decay math
… INFO

- accept allkeys-lfu/volatile-lfu/allkeys-ahe/volatile-ahe in CLI and config.file errors
- document new policies in ferrum.conf.example
- INFO memory now reports ahe_alpha + ahe_last_hit_ratio
- INFO stats section exposes keyspace_hits / keyspace_misses
@phaethix phaethix merged commit 1bab190 into master Apr 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant