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 in-memory chunk cache #6245

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

SungJin1212
Copy link
Contributor

Add an in-memory chunk cache to Store Gateway.

Which issue(s) this PR fixes:
Fixes #6239

Checklist

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

Comment on lines -5 to +6
* [FEATURE] Query Frontend/Querier: Add protobuf codec `-api.querier-default-codec` and the option to choose response compression type `-querier.response-compression`. #5527
* [CHANGE] Enable Compactor and Alertmanager in target all. #6204
* [FEATURE] Query Frontend/Querier: Add protobuf codec `-api.querier-default-codec` and the option to choose response compression type `-querier.response-compression`. #5527
Copy link
Contributor Author

@SungJin1212 SungJin1212 Sep 30, 2024

Choose a reason for hiding this comment

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

I just changed the order.

@SungJin1212 SungJin1212 force-pushed the Add-inmemory-chunk-cache branch 3 times, most recently from d1fa7fa to ea70f2c Compare September 30, 2024 08:32
@SungJin1212
Copy link
Contributor Author

@yeya24
How about setting an in-memory cache as a default?

@SungJin1212 SungJin1212 force-pushed the Add-inmemory-chunk-cache branch from ea70f2c to dc50383 Compare September 30, 2024 10:01
@yeya24
Copy link
Contributor

yeya24 commented Sep 30, 2024

@SungJin1212 I prefer to stick to current behavior to not enable chunks caching as default.

@SungJin1212 SungJin1212 force-pushed the Add-inmemory-chunk-cache branch from dc50383 to a094b6e Compare September 30, 2024 21:48
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@SungJin1212 SungJin1212 force-pushed the Add-inmemory-chunk-cache branch from a094b6e to c62c7b1 Compare September 30, 2024 21:51
@SungJin1212
Copy link
Contributor Author

SungJin1212 commented Sep 30, 2024

@yeya24
I have rollbacked not to enable chunk cache as a default.

Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Awesome work! Thanks for the contribution

@yeya24 yeya24 merged commit 53556fe into cortexproject:master Oct 2, 2024
16 checks passed
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: Inmemory chunks cache
3 participants