Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-level chunk cache #6249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SungJin1212
Copy link
Contributor

Support multi-level chunk cache like a multi-level cache for the index and add metrics for tracking multi-level cache behavior.

  • cortex_store_multilevel_chunk_cache_fetch_duration_seconds, tracks latency to fetch item
  • cortex_store_multilevel_chunk_cache_backfill_duration_seconds, tracks latency to backfill item
  • cortex_store_multilevel_chunk_cache_backfill_dropped_items_total, tracks # of dropped items due to buffer fullness when backfilling
  • cortex_store_multilevel_chunk_cache_store_dropped_items_total, tracks # of dropped items due to buffer fullness when storing

Add a multi level chunk cache
Which issue(s) this PR fixes:
Fixes #6240

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@SungJin1212 SungJin1212 force-pushed the Add-multilevel-chunk-cache branch 2 times, most recently from f89b7d2 to f92795d Compare October 2, 2024 23:42
@yeya24
Copy link
Contributor

yeya24 commented Oct 4, 2024

Can we fix tests?

@SungJin1212 SungJin1212 force-pushed the Add-multilevel-chunk-cache branch 4 times, most recently from 17248c5 to 8663f64 Compare October 4, 2024 10:17
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@SungJin1212
Copy link
Contributor Author

@yeya24
I have fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store Gateway: multi level chunks cache
2 participants