Skip to content

Support filtered index cache #5587

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

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Oct 4, 2023

What this PR does:

Add filtered index cache to Cortex. This allows different index caches to store different type of data.

For example, expanded postings is usually much smaller than postings so storing them and keep the hit ratio high is more efficient than caching both postings and expanded postings, especially in those memory constraint scenario like inmemory cache (size usually small)

Which issue(s) this PR fixes:
Fixes #

Checklist

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

@yeya24 yeya24 merged commit 577045c into cortexproject:master Oct 6, 2023
@yeya24 yeya24 deleted the filtered-cache branch October 6, 2023 17:55
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.

2 participants