Skip to content

Conversation

henningandersen
Copy link
Contributor

Add epoch (changes) as a metric to the blob-cache, giving visibility into the velocity of change in the cache and indications of cache churn

Relates ES-12595

Add epoch (changes) as a metric to the blob-cache, giving
visibility into the velocity of change in the cache and
indications of cache churn
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing)

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Indexing Meta label for Distributed Indexing team label Aug 7, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @henningandersen, I've created a changelog YAML for you.

Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this Henning.

The change itself LGTM but I'm not entirely sure what this metric will give us?

i.e. a steadily increasing epoch will point to our decaying task running as expected ?
I could perhaps see the metric being interesting if we are to correlate it with an entry's lastAccessedEpoch but I'm not exactly following why is this metric useful in isolation?

@henningandersen
Copy link
Contributor Author

We discussed this and clarified that it is the rate of change that is interesting, in particular for comparing across different clusters, a high rate could seem to be an indication of cache undersize or problem relative to a low rate.

@henningandersen henningandersen merged commit 397821e into elastic:main Aug 8, 2025
33 checks passed
@henningandersen
Copy link
Contributor Author

Thanks both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Searchable Snapshots Searchable snapshots / frozen indices. >enhancement Team:Distributed Indexing Meta label for Distributed Indexing team v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants