Skip to content

smarter cache eviction #63

@DocJade

Description

@DocJade

tier zero is leaps and bounds better than it used to be, but every bit counts

https://en.wikipedia.org/wiki/Cache_replacement_policies
for ideas

https://danluu.com/2choices-eviction/
On low hit rates, random evictions can be better than LRU

Maybe more agressively trim tier 1? Keep track of how recently a block has been read or updated?

Prefer to not evict block 0 to prevent tossing headers?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions