Skip to content

Add size based eviction#1

Open
vbekiaris wants to merge 4 commits into
mainfrom
add-size-based-eviction
Open

Add size based eviction#1
vbekiaris wants to merge 4 commits into
mainfrom
add-size-based-eviction

Conversation

@vbekiaris

Copy link
Copy Markdown
Collaborator

No description provided.

vbekiaris added 4 commits May 29, 2026 14:18
Adds MaxBytes configuration option for the cache
When configured, values must implement the
Sizer interface (func Size() uint32).
Similarly to sturdyc's capacity based
eviction implementation, the size-based
eviction distributes the byte capacity per
shard and eviction is executed per-shard.

Assisted-by: Laguna M.1
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